Implement a cross-section
How to implement a new cross-section for a foundry
# example created by Bright Photonics import nazca as nd # add layers to xsection (automatically add the xsection) nd.add_layer2xsection(xsection='xs1', layer=1, accuracy=0.001) nd.add_layer2xsection(xsection='xs1', layer=2, accuracy=0.001, growx=4) nd.add_layer2xsection(xsection='xs1', layer=3, accuracy=0.01, growx=10) # draw waveguide in created xsection nd.strt(length=100, width=2, xs='xs1').put(0) nd.export_gds()
In this example we show how to implement a new cross-section for a foundry. We add layers to cross-section, define layers accuracy and grow in x-direction. The outcome is a cross-section with three layers that can be used for drawing e.g. waveguides in a mask.