3D meshing - Python API
Hi,
I am using the python API (GMSH SDK 4.9.0 install through pip) and trying to create a volumetric mesh from a typical .stl surface mesh of the heart. I'm quite used to this procedure on the gmsh API where I just need to create a volume entity and physical group before meshing and I wanted to automatize the process.
I've been checking the available documentation and examples but I have struggled to find any example for imported meshes. I think I found several of the functions required such as gmsh.open(), gmsh.model.addDiscreteEntity(), gmsh.model.addPhysicalGroup() and gmsh.model.mesh.generate() but I'm still a bit lost.
Thanks in advance, Xabier