Documentation for reference to find all information
Is there any documentation available for reference to find all information about components, attributes, and data in the simulation?
I'm refering examples in SOFA, examples in SofaPyhon3, Scenes in SofaGym, SOFA homepage documentation, and examples of BeamAdapter. However, it's really hard to find the elements of simulator.
For example, I wanted to make an object by using a component MeshSTLLoader with the desired position and orientation. However, there was no explanation what attributes can be used for position and orientation. There was even no explanation which order Euler rotation is using. Finally, I figured out them by trial and error, not by documentation.
What I want to know is as follow:
- What components does SOFA have?
For example, in the code below, there are components:
DefaultAnimationLoop,MeshGmshLoader,EulerImplicitSolver,CGLinearSolver,PointSetTopologyContainer,MechanicalObject,UniformMass, andConstantForceField. - Which attributes are usable in each component?
For example, in the code below, the component
MechanicalObjecthas three attributes:template,name, andshowObject. - What data should each attribute have?
For example, in the code below, the attribute
totalForceof the componentConstantForceFieldhas six floats:"1 0 0 0 0 0".
<?xml version="1.0" ?>
<!-- Loader and topology -->
<Node name="root" dt="0.01" gravity="0 0 0">
<RequiredPlugin name="Sofa.Component.Mass"/>
<RequiredPlugin name="Sofa.Component.MechanicalLoad"/>
<RequiredPlugin name="Sofa.Component.StateContainer"/>
<RequiredPlugin name="Sofa.Component.LinearSolver.Iterative"/>
<RequiredPlugin name="Sofa.Component.ODESolver.Backward"/>
<RequiredPlugin name="Sofa.Component.IO.Mesh"/>
<RequiredPlugin name="Sofa.Component.Topology.Container.Dynamic"/>
<DefaultAnimationLoop computeBoundingBox="false"/>
<MeshGmshLoader name="meshLoaderCoarse" filename="mesh/liver.msh" />
<Node name="Liver">
<EulerImplicitSolver />
<CGLinearSolver iterations="200" tolerance="1e-09" threshold="1e-09"/>
<PointSetTopologyContainer name="topo" src="@../meshLoaderCoarse" />
<MechanicalObject template="Rigid3d" name="MechanicalModel" showObject="1"/>
<UniformMass totalMass="1" />
<ConstantForceField totalForce="1 0 0 0 0 0" />
</Node>
</Node>
Is there any documentation available for reference to find all information about components, attributes, and data in the simulation?