Implement a cross-section

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.

Related Tutorials

Nazca LayoutNazca Foundry
8 December 2019

Euler bends

In this example we show how to use Euler bends
Nazca LayoutNazca Foundry
8 December 2019

Free form curves

In this example we show how to create a free form parametric curve
Nazca LayoutNazca Foundry
11 November 2019

Log your layout

In this example we show how to log your layout.
Nazca LayoutNazca Foundry
3 November 2019

Make and put a Cell

In this example we show how to create xsections and layers