Home › Forums › Nazca › How to use flip method.
Dear Nazca team,
I have a problem with drawing a cell B which is symmetrical about the x-axis (or y-axis) with cell A.
I was trying with the flip(), but I got a central symmetry cell at the end.
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
Dear Xaveer,
Thanks! That is exactly what I want.
Wanshu