-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workplane.clone() #1643
Comments
What is the use case? I.e. are you after a deep or shallow copy in the end? |
I thought CadQuery is based on immutable objects, since there are chaining methods with description left_pin = cq.Workplane()...
right_pin = left_pin.translate((0,0,0)) // Oh this is so hacky
cq.Assembly().add(left_pin).add(right_pin)... You know this is wrong. They shares many things like CQObject and CQContext. If I understand correctly, So if there is a |
I know I can define a function or use
w1.translate((0,0,0))
to create a new reference, but it would be great if there is a simpleclone
method:The text was updated successfully, but these errors were encountered: