Spine Fix Concavity Check #228
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I randomly came up with an algorithm to check concavity 👍
Procedure to add a new member
For each member in group:
For each face on member:
Face must either be flush with another member in group (forming a "connectivity graph edge"), or have no views of any member face i.e.
dot(face_n,other_face_n)<0.If any individual face fails, adding the member to the spinefix group would create a group with concavities. In that case, the group must be split into two convex groups, possibly with lots of checking to maximize each group size. An alternative optimization would be to aim for behaviour that is somehow independent of the order in which the objects are added to the spinefix groups.
Alternative implementations:
whoops wrong repo