Use the TetWild executable to run the mesher from the terminal.
Usage:
./TetWild [OPTIONS] input [output]
Positionals:
input: Required. Input surface mesh in .off/.obj/.stl/.ply format.output: Optional. Output tetmesh in .msh format. Defaults to input_file_postfix.msh.
Options:
-h,--help Print this help message and exit
--input TEXT REQUIRED Input surface mesh INPUT in .off/.obj/.stl/.ply format. (string, required)
--output TEXT Output tetmesh OUTPUT in .msh or .mesh format. (string, optional, default: input_file+postfix+'.msh')
--postfix TEXT Postfix P for output files. (string, optional, default: '_')
-l,--ideal-edge-length FLOAT ideal_edge_length = diag_of_bbox * L. (double, optional, default: 0.05)
-e,--epsilon FLOAT epsilon = diag_of_bbox * EPS. (double, optional, default: 1e-3)
--stage INT Run pipeline in stage STAGE. (integer, optional, default: 1)
--filter-energy FLOAT Stop mesh improvement when the maximum energy is smaller than ENERGY. (double, optional, default: 10)
--max-pass INT Do PASS mesh improvement passes in maximum. (integer, optional, default: 80)
--is-laplacian Do Laplacian smoothing for the surface of output on the holes of input (optional)
--targeted-num-v INT Output tetmesh that contains TV vertices. (integer, optional, tolerance: 5%)
--bg-mesh TEXT Background tetmesh BGMESH in .msh format for applying sizing field. (string, optional)
--save-mid-result 0: save result before optimization, 1: save mid-results during optimization, 2: save result without winding number.
-q,--is-quiet Mute console output. (optional)
--log TEXT Log info to given file.
--level INT Log level (0 = most verbose, 6 = off).
./TetWild input.obj output.msh --ideal-edge-length 0.1 --is-laplacian