SOFAv21.12 : TetrahedronFEMForceField(forcefield)], apparent missing tetrahedric topology #2732
-
|
Hello all. In reconfiguring the CableGripper example from the SoftRobots plugin to use my own finger design, I am encountering this error: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hey @cdelor02 The way the simulation community usually does things is to generate a volumetric mesh (including here tetrahedra) using a mesh tool. In SOFA, we have something very basic (which I discourage to use on the long-term) to generate a tetra topology from a triangle mesh: the MeshTetraStuffing (example available here) Hope this helps |
Beta Was this translation helpful? Give feedback.
Hey @cdelor02
This error has the same explanation than your other post here. The TetrahedronFEMForceField is a SOFA component expecting to have a tetrahedric topology, e.g. your mesh file must include tetrahedra discretizing the space of your object. Here your topology may only include triangles but no tetra.
The way the simulation community usually does things is to generate a volumetric mesh (including here tetrahedra) using a mesh tool.
In SOFA, we have something very basic (which I discourage to use on the long-term) to generate a tetra topology from a triangle mesh: the MeshTetraStuffing (example available here)
Hope this helps