/usr/share/sofa/examples/Demos/chainHybrid.scn is in sofa-data 1.0~beta4-9.
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 | <Node name="root" dt="0.02" showBehaviorModels="0" showCollisionModels="0" showMappings="0" showForceFields="0">
<Object type="CollisionPipeline" verbose="0" draw="0"/>
<Object type="BruteForceDetection" name="N2" />
<Object type="NewProximityIntersection" name="Proximity" alarmDistance="0.3" contactDistance="0.2" />
<Object type="CollisionResponse" name="Response" response="default" />
<Object type="CollisionGroup" name="Group" />
<Node name="Chain">
<Node name="Fixed">
<Object type="MeshLoader" name="meshLoader" filename="mesh/torus_for_collision.obj"/>
<Object type="Mesh" />
<Object type="MechanicalObject" rx="90"/>
<Object type="Triangle" simulated="0" moving="0" />
<Object type="OglModel" name="Visual" fileMesh="mesh/torus.obj" color="gray" rx="90"/>
</Node>
<include name="FEM" href="Objects/TorusFEM.xml" dx="2.5" />
<!-- <include name="Spring" href="Objects/TorusSpring.xml" dx="5" rx="90" />
<include name="FFD" href="Objects/TorusFFD.xml" dx="7.5" />
<include name="TorusRigid" href="Objects/TorusRigid.xml" dx="10" rx="90" />-->
</Node>
</Node>
|