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

How to make tetrahedron coarse #72

Closed JerryYan97 closed 3 years ago

JerryYan97 commented 3 years ago

Hello!

I am new to this tool and it looks cool. I am wondering how to make tetrahedron more coarsen by adjusting parameters. E.g. I am trying to use TetWild to tetrahedralize a 3D bar and I am now increasing the -l/-a number, but it looks like the number of the final tetrahedron would stay at some level (~2000 tets) and I want to make them to be less than a thousand.

Can I further decrease the number of tets? Are there other parameters that I should adjust?

Thank you!

Yixin-Hu commented 3 years ago

Hi,

-l controls the max edge length. To coarsen the output mesh one step further, you may try fTetWild (https://github.com/wildmeshing/fTetWild) with the flag --coarsen (I haven't added this flag in TetWild). TetWild and fTetWild output very similar results but use different algorithms. fTetWild is more efficient.

JerryYan97 commented 3 years ago

Cool!

I try it. Sorry that I didn't notice your new research :)

Thank you very much!