Closed RobinEnjalbert closed 12 months ago
Hi @RobinEnjalbert
yes that was removed because I think it was "too automatic".. polygonal meshes and tet-meshes are very different objects.
So in your code it should become mesh = vedo.TetMesh('tetra_mesh_file.vtk').tomesh()
.
Thanks !
Hi @marcomusy,
Thanks for the new release, I am currently going through the changes in my personal code base.
I found that is it no longer possible to create a
TetMesh
like so:I liked being able to create any mesh - in this case tetra meshes - from a unique class
Mesh
.In the previous version, if the mesh was loaded from a file, the mesh type was checked to see if it is a
TetMesh
(here in the code). I wonder why this disappeared in the new version ? Do we have to create aTetMesh
only from this class ?