-
Notifications
You must be signed in to change notification settings - Fork 16
applyToEachFace(..) - simplified each(..) for faces #20
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
Conversation
- Changed first callback of apply_to_each_face(..) so that it not only determines x axis direction but also creates face workplane so that it can be extended in the future - Registered apply_to_each_face as a Workplane method Code not fully cleaned up. No type hints yet. And no comments. Did not test installer
- Updated examples so that they can work in CQ-editor more than once - Formatted examples with Black - Moved images to images directory
|
@fedorkotov Is this ready for review? |
|
@jmwright Yes, it is ready |
|
Black found no issues but the action fails with |
jmwright
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The apply-to-each-face submodule seems to be a dead end. If I try to update the submodules for your branch, git refuses to do it.
|
Sorry. Can't remember how and why did I add this |
|
A friendly ping for project maintainers. Just to make sure that this pull request is not forgotten. If nobody has the time for review, it's Ok. |
|
I'll start my review today. |
marcus7070
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from my comment about reloading the module, this all looks great to me!
|
@fedorkotov Thanks! |
This plugin simplifies using
Workplane.each(..)on faces. To use each you have to select workplane coordinate system for each face before building your geometry.Workplane.applyToEachFace()function provided by this plugin separates tasks of choosing face coordinate system and actually building new geometry and provides a few built in ways of choosing coordinate system thatare good enough in many cases.
See also CadQuery/cadquery#713