Sofa
All the key components supported by the sofa-consortium
General description
Example of use
import Sofa.Core import Sofa.Simulation import SofaRuntime SofaRuntime.importPlugin("Sofa.Component") n = Sofa.Core.Node("MyNode") n.addChild("Node2") n.addObject("MechanicalObject", name="dofs") Sofa.Simulation.init(n) Sofa.Simulation.print(n)
Sub-modules
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. |
|
The general object hierarchy and data structures. |
|
Control the graphical user interface |
|
Tooling to print messages or create vectors of different type. |
|
Sofa types |
|
SofaType package |
|
Constants library Library for an easier keyboard interaction |
Utility Functions
|
|
|
|
|
|
|