Skip to content

SOFA crashes when Hyperelasticity is applied #224

Discussion options

You must be logged in to vote

Thanks for reporting the problem. I can confirm it as I am able to reproduce it.
The problem comes from the topology of the object, in particular it's probably due to the loaded mesh itself. We already encountered problems with meshes exported from Gmsh (sofa-framework/sofa#2607, sofa-framework/sofa#2638). The trick is to skip the edge list provided by the mesh file.

Instead of

finger.addObject('MeshTopology', src='@loader', name='container')

we should do

finger.addObject('MeshTopology', tetrahedra='@loader.tetrahedra', position='@loader.position', name='container')

If I do that, the scene does not crash.

Notes for the developers:

  • We should print an explicit error message in this case
  • We…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andersonnardin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants