Home Forums Nazca How to use flip method. Reply To: How to use flip method.

#5395
Xaveer
Moderator

Dear Wanshu,

Here is one way to achieve what you want:

import nazca as nd

with nd.Cell(name='Cell') as C:
    nd.strt(10).put(0)
    nd.taper(length=10, width1=1, width2=5).put()
    nd.bend(angle=90).put()

C.put(0, 0, 0)
C.put(-10, -10, 0, flip=True)

nd.export_gds()

There is also a flop argument that flips backwards.

Xaveer