I would like to know if there is a possibility to convert or fill the surface mesh STL/VTK/OBJ to a volumetric VTK file in paraview (pvpython). As it is possible to extract surface mesh from volumetric VTKs, is the reverse process straight forward.
You can use Delaunay3D but the result may not be great. To reverse the process, use ExtractSurface.
Thank you very much for the information. Yeah we had given it a try already, and it is indeed tricky for complex shapes.
@justAPhDStudent if your surface is manifold, you may use tetWild to fill it. This kind of operation should be done with a mesher. Using only VTK, I do not see any clean way to do so.
Thanks @Charles_Gueunet! That’s great info. I will definitely give it a try.