wildmeshing / fTetWild

Fast Tetrahedral Meshing in the Wild
https://yixin-hu.github.io/ftetwild.pdf
Mozilla Public License 2.0
404 stars 80 forks source link

Surface information output #60

Closed jiaruily closed 1 year ago

jiaruily commented 1 year ago

Can I get the surface information of the output mesh? For example, surface triangles. I see __sf.obj, but I want triangles with the same vertex index as in the mesh (.msh) file.

Yixin-Hu commented 1 year ago

Hi,

If you want the surface mesh of the output tetmesh with the vertex indices unchanged, then you need to output all the vertices of the tetmesh to the surface mesh (so there will be isolated vertices in the interior), which should be easy to do. You need to write a script to process the output tetmesh.