Home › Forums › Nazca › How to use flip method.
This topic contains 2 replies, has 2 voices, and was last updated by Wanshu 2 weeks, 5 days ago.
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.
Here is one way to achieve what you want:
import nazca as nd
with nd.Cell(name='Cell') as C:
nd.taper(length=10, width1=1, width2=5).put()
C.put(0, 0, 0)
C.put(-10, -10, 0, flip=True)
There is also a flop argument that flips backwards.
Thanks! That is exactly what I want.
You must be logged in to reply to this topic.
© 2019 Nazca Design. | firstname.lastname@example.org