How do I keep track of vertex/edge/face origin during boolean operation? #5566
PhilNamesnik8463
started this conversation in
General
Replies: 1 comment 4 replies
-
|
Hello! We have special output struct in meshboolen MeshLib/source/MRMesh/MRBooleanOperation.h Lines 49 to 56 in 3b31903 to map origins of result mesh primitives. Also if you want to save 2 individual components it might be easier on to call BooleanOperation::Inside/Outside(A/B) to gat them as separate meshes |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment





Uh oh!
There was an error while loading. Please reload this page.
-
Consider two meshes from STL files that are intersecting. After I apply some boolean operation (e.g. intersection), the resulting mesh consists of a combination of vertices/edges/faces of the original meshes. Is it possible to keep track of the origin of those elements? After the boolean operation I want to write to an STL file again, but the mesh elements should be split by origin, as in an STL file with multiple bodies. The following sketch clarifies the idea:

Beta Was this translation helpful? Give feedback.
All reactions