Skip to content

Tutorial application

NOTE: Every scenes detailed in tutorial can also be launched using the runSofa application directly.

Tutorial Application

The source file of SOFA Tutorials is found in folder SOFA_DIR/examples/Tutorials The Tutorial Application is embedded inside the SOFA Modeler. To launch it, first launch Modeler, and then go to the Tutorial Menu, or simply click on its icon. [caption id="attachment_1164" align="aligncenter" width="500"] ModelerTutorialLaunch{.wp-image-1164 width="500" height="311"} Launch the Tutorial in Modeler [/caption] Once launched, it looks like: [caption id="attachment_1209" align="aligncenter" width="500"] Tutorial_launched{.wp-image-1209 width="500" height="313"} The Tutorials [/caption] Initially, it is composed of two parts, from left to right:

  • A Tutorial Selector: we can choose different categories of the Tutorials: Step by Step, Collision, ForceFields, Mappings, ... or the whole SOFA Tutorials "All Sofa Tutorials".
  • A HTML based description: a brief description of the corresponding category.

When a category (e.g Step by Step) is chosen and if we double click on a component of that category, the third part appears:

  • A SOFA Scene-Graph: the representation of SOFA components. You can modify/delete a component by right clicking on that component. You can also add another component to the scene graph by clicking on "Edit in Modeler". In Modeler you can run the scene using SOFA (see Modeler)

[caption id="attachment_1241" align="aligncenter" width="500"] ModifyComponent{.wp-image-1241 width="500" height="312"} Modify/delete a component in SOFA scene-graph or add a component in Modeler [/caption]