Skip to content

delete self intersecting faces and fill the hole #3226

Answered by Grantim
dhanraj-khatal asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

There are such functions:

findSelfCollidingTrianglesBS - finds union of all self-intersecting faces
mesh.deleteFaces - deletes multiple given faces, also deletes adjacent edges and vertices if they were not shared by remaining faces ant not in keepFaces
fillHole - Fills given hole represented by one of its edges (having no valid left face), uses fillHoleTrivially if cannot fill hole without multiple edges,default metric: CircumscribedFillMetric

see example here: https://github.com/MeshInspector/MeshLib/blob/master/test_python/test_fillHole.py

Actually we have function that performs this kind of fixing self-intersections: https://github.com/MeshInspector/MeshLib/blob/master/test_py…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dhanraj-khatal
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