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

Add operation for splitting faces #2097

Merged
merged 5 commits into from
Nov 15, 2023
Merged

Add operation for splitting faces #2097

merged 5 commits into from
Nov 15, 2023

Conversation

hannobraun
Copy link
Owner

Implement an operation that can split a face of a shell along a line.

Screenshot from 2023-11-15 14-33-06

You can see the split face in this screenshot by the way the shell is triangulated. If there was a single square face facing the camera, it would get triangulated in the minimal way, using two triangles. However, the line through the center that is visible here is the boundary between two faces.

Splitting faces is not useful in itself, but it provides a building block for more complex modeling operations. For example, once it is possible to add to a shell by extruding from one of its faces, then splitting faces becomes a very valuable way to control this capability.

Close #2023

`0.5`, what was used before, is a bit of an edge case that could work,
even if some of the code is buggy. Using a less special value is a
better test case.
@hannobraun hannobraun merged commit 7203ac5 into main Nov 15, 2023
4 checks passed
@hannobraun hannobraun deleted the split branch November 15, 2023 13:46
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.

Implement operation for splitting faces
1 participant