/usr/share/sofa/examples/Tutorials/Misc/tutorial1.scn is in sofa-data 1.0~beta4-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <Node name="root" dt="0.01" showBehaviorModels="1" showCollisionModels="0" showMappings="0" showForceFields="1">
<Node name="M1">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="25" tol="0.01" threshold="0.000001" />
<Object type="MechanicalObject" dx="0" dy="0"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="5" ny="5" nz="5"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="100" damping="1" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube125.obj" color="green" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Object type="PlaneForceField" normal="0 1 0" d="-10"/>
</Node>
<Node name="M2">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="25" tol="0.01" threshold="0.000001" />
<Object type="MechanicalObject" dx="-12" dy="0"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="5" ny="5" nz="5"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="TetrahedronFEMForceField" name="FEM" youngModulus="150" poissonRatio="0.49" method="small"/>
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube125.obj" color="yellow" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Object type="PlaneForceField" normal="0 1 0" d="-10"/>
</Node>
<Node name="M3">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="25" tol="0.01" threshold="0.000001" />
<Object type="MechanicalObject" dx="-24" dy="0"/>
<Object type="UniformMass" totalmass="10"/>
<Object type="RegularGrid"
nx="5" ny="5" nz="5"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="TetrahedronFEMForceField" name="FEM" youngModulus="150" poissonRatio="0.3" method="polar"/>
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube125.obj" color="cyan" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Object type="PlaneForceField" normal="0 1 0" d="-10"/>
</Node>
<Node name="M4">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="25" tol="0.00001" threshold="0.000001" stiffness="0.2" />
<Object type="MechanicalObject" template="Rigid" dx="-36"/>
<Object type="UniformMass" filename="BehaviorModels/smCube125.rigid"/>
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube125.obj" color="white" />
<Object type="RigidMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="MeshLoader" filename="mesh/smCube125.obj" />
<Object type="Mesh" />
<Object type="MechanicalObject" />
<Object type="RigidMapping" />
<Object type="PlaneForceField" normal="0 1 0" d="-10"/>
</Node>
</Node>
</Node>
|