Skip to content

Mesh Intersection #189

Answered by BrunoLevy
GeniusProgger asked this question in Q&A
Nov 12, 2024 · 7 comments · 2 replies
Discussion options

You must be logged in to vote

The brains are not booleaned/unioned or whatever, I'm just calling the code referenced.
Here is what I obtain with your data

In your code:

GEO::Mesh mesh;
merged->getGeomMesh(mesh); // merged is the loaded STL input file, this function restructures the data to a geogram mesh

GEO::MeshSurfaceIntersection I(mesh);

I.set_verbose(true);
I.set_delaunay(true);
I.set_detect_intersecting_neighbors(true); // set this one (you may have neighboring triangles with intersection in the input)
I.set_normalize(false);
// I.set_radial_sort(true); // not necessary here (but it will not harm)
// I.set_monster_threshold(100); // you do not need this one (dumps triangles with more than 100 intersections in…

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@GeniusProgger
Comment options

Comment options

You must be logged in to vote
1 reply
@GeniusProgger
Comment options

Answer selected by GeniusProgger
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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