Home › Forums › Nazca › Detecting closed patterns and moving polygons from a GDS file › Reply To: Detecting closed patterns and moving polygons from a GDS file
Hello Cecil,
Imported GDS files can not be changed easily, since this requires reopening the cell which would change the history.
Some GDS-viewing tools (for example KLayout with its DRC module) offer functions to check GDS files on polygon level. This can be used to detect closed loops in existing GDS files.
If you would like to check if your generated structure in Nazca has overlapping pins, you could check if the coordinates of the input and output pin are the same:
pin1.xya() == pin2.xya() # check if two pins have matching coordinates
.
I hope this answers your question.
Best regards,
Stef