You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just encountered a bug that has been replicated on multiple computers when running the given script using python launcher
In the script, the position is modified on the onAnimatedBeginEvent function call.
We can see two behaviors.
By running :
python3 SofaBugCaribou.py
You can observe from the print that the mechanical object positions are not updated at all.
Mechanical values such as residual are not impacted either, so, it's not only a python/display bug.
It doesn't work either using with self.MO.position.writeable() as pos:
python3 SofaBugCaribou.py gui
The positions are properly modified
Commenting/uncommenting the material/constitutive law reveals that it's the HyperelasticForcefield that causes the problem.
The text was updated successfully, but these errors were encountered:
AlbanOdot
changed the title
[HyperelasticForcefield] : Breaking bug that prevent MechanicalObject fields modifications when running in batch mode..
[HyperelasticForcefield] : Breaking bug that prevent MechanicalObject fields modifications when running in batch mode.
Mar 2, 2022
I just encountered a bug that has been replicated on multiple computers when running the given script using python launcher
In the script, the position is modified on the onAnimatedBeginEvent function call.
We can see two behaviors.
By running :
python3 SofaBugCaribou.py
with self.MO.position.writeable() as pos:
python3 SofaBugCaribou.py gui
Commenting/uncommenting the material/constitutive law reveals that it's the HyperelasticForcefield that causes the problem.
This minimal scene replicates the bug:
BugCaribou.zip
The text was updated successfully, but these errors were encountered: