Sofa.Simulation
General description
Defines how the scene is inited at the beginning, and updated at each time step
It derives from Base in order to use smart pointers and model the parameters as Datas, which makes their edition easy in the GUI
Example
import Sofa.Core
import SofaRuntime
SofaRuntime.importPlugin("SofaComponentAll")
n = Sofa.Core.Node("MyNode")
Sofa.Simulation.init(n)
Sofa.Simulation.print(n)
API Table of Content
Functions
animate(arg0: Sofa.Core.Node, arg1: float) -> None
animateNSteps(root_node: Sofa.Core.Node, n_steps: int = 1, dt: float = 0.0) -> None
init(arg0: Sofa.Core.Node) -> None
initRoot(arg0: Sofa.Core.Node) -> None
initTextures(arg0: Sofa.Core.Node) -> None
initVisual(arg0: Sofa.Core.Node) -> None
load(arg0: str) -> object
print(arg0: Sofa.Core.Node) -> None
reset(arg0: Sofa.Core.Node) -> None
unload(arg0: Sofa.Core.Node) -> None
updateVisual(arg0: Sofa.Core.Node) -> None