Skip to content
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

Adding toXYZ() and rotate() for polygons #7

Merged
merged 2 commits into from
Feb 22, 2021

Conversation

themmes
Copy link
Contributor

@themmes themmes commented Oct 31, 2018

#3 Polygon rotation
Simply copied the rotation function from the CSG class to work with a single polygon. This function is useful for triangulation of polygons. Most triangulation works in 2D, therefore it is sometimes necessary to random_rotate polygon if the polygon.plane is vertical.

toXYZ
There was not yet an option to retrieve coordinate values straight from the Polygon.

@tomturner tomturner merged commit ae1ec19 into tomturner:master Feb 22, 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.

2 participants