Skip to content

Conversation

@fedorkotov
Copy link
Contributor

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 that
are good enough in many cases.

See also CadQuery/cadquery#713

- 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
@jmwright
Copy link
Member

@fedorkotov Is this ready for review?

@fedorkotov
Copy link
Contributor Author

@jmwright Yes, it is ready

@marcus7070 marcus7070 self-requested a review April 30, 2021 07:34
@fedorkotov
Copy link
Contributor Author

Black found no issues but the action fails with

 Error: Error: Received status code 403
 Error: Error trying to create GitHub check for Black: Received status code 403

@jmwright jmwright self-requested a review April 30, 2021 14:26
Copy link
Member

@jmwright jmwright left a 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.

@fedorkotov
Copy link
Contributor Author

Sorry. Can't remember how and why did I add this src/apply-to-each-face thing.

@fedorkotov
Copy link
Contributor Author

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.

@marcus7070
Copy link
Member

I'll start my review today.

Copy link
Member

@marcus7070 marcus7070 left a 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 fedorkotov requested a review from marcus7070 May 12, 2021 18:31
@jmwright
Copy link
Member

@fedorkotov Thanks!

@jmwright jmwright merged commit e990a41 into CadQuery:main May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants