Skip to content

Commit

Permalink
making more room
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Nov 5, 2024
1 parent 3168178 commit d03922e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions merge/EBeam_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,15 @@ def log(text):
r1.insert(iter1.shape().polygon.transformed(iter1.trans()))
iter1.next()
r1.merge()
# print(" - Floorplan merged: %s" % r1)


# Check that the design submission has a FloorPlan. If not, add one
Layer_FP = layout.find_layer(99,0) # or use "layer"
r3 = pya.Region(subcell.begin_shapes_rec(Layer_FP))
if r3.is_empty():
print(' - WARNING: Cell %s did not have a Floor Plan, %s' % (subcell.name, f) )
log(' - WARNING: Cell %s did not have a Floor Plan, %s' % (subcell.name, f) )
subcell.shapes(Layer_FP).insert(subcell.bbox())

# offset for the facet-attached micro lenses
if course == 'FaML':
x_offset = -100e3
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

# Export for fabrication, removing PCells
path = os.path.dirname(os.path.realpath(__file__))
for i in range(6):
for i in range(3):
filename, extension = os.path.splitext(os.path.basename(__file__))
filename+=f'_{i}'
if export_type == 'static':
Expand Down

0 comments on commit d03922e

Please sign in to comment.