Sofa.Simulation
General description
Controlling a simulation
Main controller of the scene. It 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)
Functions:
|
Execute one timestep. |
|
Initialize the objects. |
|
Print all objects in the graph. |
|
Reset to initial state. |
|
Load a scene from a file. |
|
Unload a scene from a Node. |
|
Advance the simulation by one time step (by default). |
API Table of Content
Functions
Execute one timestep.
Advance the simulation by one time step (by default).
Initialize the objects.
Load a scene from a file.
Print all objects in the graph.
Reset to initial state.
Unload a scene from a Node.