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

Fix ref flatten and bbox #31

Open tom-varga opened 9 years ago

tom-varga commented 9 years ago

Flattening and getting the bounding box of CellReferences and CellArrays is fixed. They needed to support x_reflection. Also added ability to do things like: Cell.add(Cell, rotation=90, x_reflection=True, rows=2, cols=3, spacing=(2, 3)) Cell.add() now assumes a CellArray is being added if **kargs contains rows