Hi J-N,
thank you for your fast response and sorry for my late reply.
I added the marker.init()
and it runs without error.
Sadly, the model is still not visible, and the position is also at a constant for:
print(marker.MechanicalObject.position.value)
[[0, 0, 0, 0, 0, 0, 1]]
Is there a possibility that I added the new node to a “wrong root”?
I pass a node to the function, that I previously assigned to a class with self._sofa_root = Core.Node("myroot")
.
I also use this node when I pass it to Simulation.init()
of Sofa.Simulation