The precomputed compliance matrix with PrecomputedConstraintCorrection component has a chance to be corrupted at each recomputation. It depends on the collision model used.
in the try{} block of in SceneLoaderPY3::loadSceneWithArguments in SceneLoaderPY3.cpp (lines : 90-100)
The solution
I do not know, but changing the 3d model can help. Also, one can try to recompute the compliance matrix until it "works" and save it and reload it (with recompute=False).
The precomputed compliance matrix with
PrecomputedConstraintCorrection
component has a chance to be corrupted at each recomputation. It depends on the collision model used.How to reproduce
I made a small example scene : BugShowcase.zip
Sofa version : 20.12
Plugins : SofaPython3
This scene uses command line arguments and SofaPython3, so I added
in the
try{}
block of inSceneLoaderPY3::loadSceneWithArguments
in SceneLoaderPY3.cpp (lines : 90-100)The solution
I do not know, but changing the 3d model can help. Also, one can try to recompute the compliance matrix until it "works" and save it and reload it (with
recompute=False
).