Home Forums Nazca Angular discretization for bends Reply To: Angular discretization for bends

#6844
Xaveer
Moderator

Dear Jnojic,

The discretization of bends and other curved interconnects is determined by the accuracy settings of the layer that is written to.

This example illustrates this:

import nazca as nd
nd.add_layer(“one”, layer=1, accuracy=0.1)
nd.add_layer(“two”, layer=2, accuracy=0.001)
nd.bend(radius=10, width=2, angle=90, layer=”one”).put(0, 3)
nd.bend(radius=10, width=2, angle=90, layer=”two”).put(3, 0)
nd.export_gds()

The accuracy specifies the maximum deviation from the ideal shape.

Xaveer