gdshelpers
gdshelpers copied to clipboard
GDSIIImport's get_as_shapely does not work properly with cell arrays
If this is run on a cell array, it does not recognize multiple instantiations....only the original copy at the original origin is placed (like just cellarray[0] and not the others....). See the zip.zip file. Use the Top Cell for copy zip.zip
Yep. The code in version 53970dd works for doing a good convert to positive resist function
if positive:
pcell = Cell("Top")
pcell.add_to_layer(1, convert_to_positive_resist(parts=cell.get_reduced_layer(1), buffer_radius=2))
pcell.save(f"{directory}/{filename}_pos", grid_steps_per_micron=10000)
Actually, This works well for outputting a design that is made currently in program from a cell object made there. Similar changes need to be made to the GDSIIImport class as was done in 53970dd so that already made designs can be properly imported first as the issue seems to occur at import time as well.