Skip to content
Discussion options

You must be logged in to vote

@graphic-goose In c++ it would be trivial. Python does not yet expose all the low-level API. So there is no recommended way yet. But we can do it. Here is the plan:

Get non manifold edges of the arrangement (we have this in python) and the incident faces on those edges (missing from python, but we can use numpy). We know from tag_labels which original mesh which face is from, and we know which component it belongs to. On each edge, take the 2 faces from tag0 and the original face the the 2 faces from tag1 belonged to. Classify both faces from tag0 against its plane.

For increased robustness, we do this on every edge, and produce a distribution (bincounts) of votes for each component (in c…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@graphic-goose
Comment options

@ZigaSajovic
Comment options

Answer selected by graphic-goose
@graphic-goose
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants