-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Add support for mirroring #300
Conversation
yeah, you're going to have to fix rotation, AND expose this via scad for me to accept it. |
@julialongtin PTAL. The arbitrary reflection axis is now implemented, though I'm going to push back against the scad stuff. I don't use that interface, nor do I have any plan to. If someone else would like to expose this functionality, I'd be all for it, but this PR provides useful functionality as it is. |
After discussion with the OpenSCAD folks, this is more powerful than their mirror() construct. I have two asks with this one: could you rename this version reflect(), and could you implement a mirror() that does not include the original object in the output? no and no is a fine answer, don't hurt me for asking. :) |
This version doesn't include the original object either --- notice the |
This PR adds a
mirror
method toObject
which mirrors an object across a hyperplane defined by a given normal.Example: