Implement a cross-section

Implement a cross-section

How to implement a new cross-section for a foundry

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.

Related Tutorials

Nazca LayoutNazca Foundry
16 November 2018

Add text to your layout

In this example we show how to add text to your layout.
Nazca LayoutNazca FoundryPhotonic BBs
19 January 2018

Create a building block using Polygons

In this example we show how to create a building block from Polygons.
Nazca LayoutNazca FoundryPhotonic BBs
19 January 2018

Create a photonic crystal using a GDS array

In this example we show how to create a photonic crystal using GDS array.