/usr/share/sofa/examples/Tutorials/Misc/demo10.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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <Node name="root" dt="0.005" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="1">
<Object type="CollisionPipeline" verbose="0" />
<Object type="BruteForceDetection" name="N2" />
<Object type="CollisionResponse" name="Response" response="default" />
<Object type="CollisionGroup" name="Group" />
<Node name="M1">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="20"/>
<Object type="MechanicalObject" dx="0" dy="-10.5" dz="0"/>
<Object type="UniformMass" mass="0.37"/>
<Object type="RegularGrid"
nx="3" ny="3" nz="3"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="800" damping="8" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube27.obj" color="yellow" dx="0" dy="-10.5" dz="0"/>
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="Sphere" filename="mesh/smCube27b.sph"/>
<MechanicalObject dx="0" dy="-10.5" dz="0"/>
<Object type="BarycentricMapping" />
</Node>
</Node>
<Node name="M2">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="20"/>
<Object type="MechanicalObject" dx="0" dy="0" dz="0"/>
<Object type="UniformMass" mass="0.37"/>
<Object type="RegularGrid"
nx="4" ny="4" nz="4"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="560" damping="5.6" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube27.obj" color="#ff8000" dx="0" dy="0" dz="0"/>
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="Sphere" filename="mesh/smCube27b.sph"/>
<MechanicalObject dx="0" dy="0" dz="0"/>
<Object type="BarycentricMapping" />
</Node>
</Node>
<Node name="M3">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="20"/>
<Object type="MechanicalObject" dx="0" dy="10.5" dz="-4"/>
<Object type="UniformMass" mass="0.37"/>
<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="400" damping="4" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube27.obj" color="red" dx="0" dy="10.5" dz="-4"/>
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="Sphere" filename="mesh/smCube27b.sph"/>
<MechanicalObject dx="0" dy="10.5" dz="-4"/>
<Object type="BarycentricMapping" />
</Node>
</Node>
<Node name="M4">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="20"/>
<Object type="MechanicalObject" dx="0" dy="21" dz="0"/>
<Object type="UniformMass" mass="0.37"/>
<Object type="RegularGrid"
nx="6" ny="6" nz="6"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="280" damping="2.8" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube27.obj" color="#801080" dx="0" dy="21" dz="0"/>
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="Sphere" filename="mesh/smCube27b.sph"/>
<MechanicalObject dx="0" dy="21" dz="0"/>
<Object type="BarycentricMapping" />
</Node>
</Node>
<!--
<Node name="M5">
<Object type="EulerImplicit" />
<Object type="CGLinearSolver" iterations="20"/>
<Object type="MechanicalObject" dx="-4" dy="31.5" dz="-4"/>
<Object type="UniformMass" mass="0.37"/>
<Object type="RegularGrid"
nx="7" ny="7" nz="7"
xmin="-3.5" xmax="3.5"
ymin="-3.5" ymax="3.5"
zmin="-3.5" zmax="3.5"
/>
<Object type="RegularGridSpringForceField" name="Springs" stiffness="200" damping="2" />
<Node name="Visu">
<Object type="OglModel" name="Visual" filename="mesh/smCube27.obj" color="cyan" />
<Object type="BarycentricMapping" object1="../.." object2="Visual" />
</Node>
<Node name="Surf">
<Object type="Sphere" filename="mesh/smCube27b.sph" />
<MechanicalObject/>
<Object type="BarycentricMapping" />
</Node>
</Node>
-->
<Object type="Sphere" name="Floor" filename="mesh/floor.sph" simulated="0" moving="0" />
<MechanicalObject dy="-20"/>
<Object type="OglModel" name="FloorV" filename="mesh/floor.obj" texturename="textures/floor.png" dy="-20" />
</Node>
|