SOFA brain simulation error with Barycentric Mapping (Rigid3d, Vec3d) #2690
-
|
Hello all. I am working on a modified version of the I am not sure why my changing of which mesh I use from the liver example should result in such an error. A GitHub issue from 2019 discussed this same issue, their solution being to change the scaling of their object however either I am not doing it correctly/it is not the source of my issue. I have attached a screenshot of my terminal errors as well as a .zip file of my relevant files, in the correct directory arrangement that they are in my own directory. Thank you. Details: SOFA v21.12, Windows 10, Python3.7 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hey @cdelor02 It seems you did not only change the mesh. You might have change the template of the liver from Could you share your scene? In addition, the two first warnings you get are pretty clear:
|
Beta Was this translation helpful? Give feedback.
-
|
Your VTK mesh is only the surface of the brain. It contains only triangles. As explained in earlier comments, you need to have a vtk mesh using volumetric elements (linear tetra or linear hexa) for your brain. Moreover, you need to make sure they have the same scale (which is not the case here) |
Beta Was this translation helpful? Give feedback.

Your VTK mesh is only the surface of the brain. It contains only triangles. As explained in earlier comments, you need to have a vtk mesh using volumetric elements (linear tetra or linear hexa) for your brain.
Moreover, you need to make sure they have the same scale (which is not the case here)