hohlraum / gdsCAD

A simple but powerful Python package for creating photolithography masks in the GDSII format.
GNU General Public License v3.0
88 stars 52 forks source link

Boundaries should be closed #13

Closed PhilReinhold closed 10 years ago

PhilReinhold commented 10 years ago

Please note http://www.rulabinsky.com/cavd/text/chapc.html section C.4

 Note that boundaries must be closed explicitly, so the first and last coordinate values must be the same

It appears to me that this was not the behavior of gdsCAD currently.

hohlraum commented 10 years ago

Yes, you're right, boundaries should be closed. This was the behaviour until a recently. Looks like it was lost inadvertently. The previous (now lost) scheme was to add the extra closing point only when the boundary was saved. But adding the point explicitly on creation is better. Thanks.