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

shapes.Box lower left corner not rectangular #44

Closed floRoth closed 8 years ago

floRoth commented 8 years ago

If a box is drawn, the lower left corner ist not rectangular. There is a quadrat with edge length of half the width missing.

Fixed it in shapes.Box

added -0.5*width

points = np.array([[point1[0], point1[1]-0.5_width], [point1[0], point2[1]], [point2[0], point2[1]], [point2[0], point1[1]], [point1[0]-0.5_width, point1[1]]])

Greetings

Flo

floRoth commented 8 years ago

Fixed it. See comment above.