Home Forums Nazca Creating a Dummy Polygon for Reference: Drawing on Void Layer or Removing

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6954
    lomuc
    Participant

    is based in Eindhoven

    Hello, I am working on a structure layout and I need to create a polygon that will serve as a reference for a following polygon.

    I would like to know if there is a way to draw this “dummy” polygon on a void layer or cross-section that will not be included in the written mask layout.

    Alternatively, would it be better to remove the dummy polygon once the following polygon has been placed? Any suggestions or example syntax would be greatly appreciated.

    #6958
    Marco
    Participant

    Dear lomuc,

    I would simply remove the layer used for that polygon when you export the gds. In order to do that, you can provide the argument ‘layermap’ to the export gds function. Layermap accepts a python dictionary {<old_layer>:<new_layer>} that maps gds layer during the export fase. The layer can be specified in any nazca supported format, namely an integer for the layer number, a tuple for layer number and datatype, or a string for the name of the layer.

    To remove a layer from the exported gds, just map the layer to None.

    Marco

    #6974
    lomuc
    Participant

    is based in Eindhoven

    Thanks Marco. The approach you suggested has been helpful so far. However, I’m currently seeking guidance on how to delete an existing object. I would greatly appreciate your input.

    #6988
    Marco
    Participant

    Dear lomuc,

    In general I do not think there is in Nazca a straightforward way of removing an object in Nazca.

    A not so straightforward way would be to use the cell iterators (see this tutorial https://nazca-design.org/inverted-mmi-creation/) to rebuild the full structure filtering out the objects you do not need, but that would require some work.

    If I guess right and you just want to delete the cell that was left empty by the removal of some layer at the previous step, I would suggest to create the cell with the instantiate=False option. If a non instantiated cell is put in another cell, the content of the child cell will be put directly in the parent cell when you export, and so the parent cell will not be visible in the final gds.

    I this in not what you have in mind, please be more specific about your problem and I can see if I can help.

    Marco

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