Yixin-Hu / TetWild

Robust Tetrahedral Meshing in the Wild.
https://yixin-hu.github.io/tetwild.pdf
GNU General Public License v3.0
620 stars 98 forks source link

Force input surface topology preservation #56

Open radekd91 opened 5 years ago

radekd91 commented 5 years ago

Hi,

thanks for making this great tool available. I have a queton: is there any way to force the topology of the surface to remain unchanged? I would like to use this tool to obtain a quality tetrahedralization of my specific mesh type (a human torso mesh with a cavity) but due to requirements of the rest of my system, I can't have the surface topology change. I have already tried TetGen, which supports this requirement, however, the resulting tetrahedralization is sometimes nonsensical or even contains degenerate elements.

Is there a way to force surface topology preservation? I.e. disable the mesh initial mesh clean up step? Which stages modify the input surface topology?

Thanks :-)

Yixin-Hu commented 5 years ago

Hi, there is no way to force surface topology preservation since the algorithm is designed for dealing with imperfect input.