Edouard Oudet <edouard.oudet(a)imag.fr> writes:
Dear Meshpy users,
I am looking for a complete example to define call tetgen with non
As suggested in the documentation, I am able for instance to adjust the
number of elements by defining a volume constraints like in
mesh = build(mesh_info,max_volume=0.05)
but I didn't understand the way to pass the 'pq' switches to tetgen. For
sure I am not an expert in python and the sentence
Run time switches for TetGen. See the TetGen documentation for the
meaning of each switch. Using the /kwargs/ constructor argument, all the
attributes defined below can be set. This setting will occur
called with the /switches/parameter.
is a little bit to technical for me...
opt = tet.Option("pqrz=15")
mesh_info = ...
built_mesh = tet.build(mesh_info, options)
should do it.