Home Forums Nazca Detecting closed patterns and moving polygons from a GDS file

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #6200

    Hello Nazca team,

    I was wondering if you had any idea how to check for closed patterns from an imported GDS file such as a mirror loop like this:

    I was thinking of using the building blocks pins but I am not sure how to proceed.
    Also once a closed pattern has been detected, I would like to be able to move one or several polygon a few microns (in this case, the arc) in order to open the pattern. I thought about using the pin[].move method but I don’t know how to use pins from an input GDS file.

    Do you have suggestions on how to proceed?

    Thanks a lot,


    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,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.