/usr/share/sofa/examples/Tutorials/Basic/TutorialCollisionMultipleGroupsSolver.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 | <?xml version="1.0" ?>
<!-- See http://wiki.sofa-framework.org/wiki/TutorialCollisionMultipleGroups.scn -->
<Node name="root" dt="0.01" gravity="0 0 -9.81" showForceFields="1" showCollisionModels="1">
<!-- Basic Components to perform the collision detection -->
<CollisionPipeline/>
<BruteForceDetection/>
<DefaultContactManager/>
<MinProximityIntersection alarmDistance="0.5" contactDistance="0.2"/>
<Node name="SolverNode">
<EulerImplicitSolver name="EulerImplicit" />
<CGLinearSolver name="CG Solver" />
<Node name="CubeSphere1">
<MechanicalObject name="Particles" template="Vec3d"
position="0 0 1 1 0 1 0 1 1 1 1 1 0 0 2 1 0 2 0 1 2 1 1 2"
translation="-2 1 2" />
<MeshTopology name="Topology" hexas="0 4 6 2 1 5 7 3" />
<UniformMass name="Mass" totalmass="1" />
<MeshSpringForceField name="Springs" stiffness="100" damping="1" />
<!-- Collision Model -->
<SphereModel name="Spheres Cube1" radius="0.4"/>
</Node>
<Node name="CubeSphere2">
<MechanicalObject name="Particles" template="Vec3d"
position="0 0 1 1 0 1 0 1 1 1 1 1 0 0 2 1 0 2 0 1 2 1 1 2"
translation="0 0 6"/>
<MeshTopology name="Topology" hexas="0 4 6 2 1 5 7 3" />
<UniformMass name="Mass" totalmass="1" />
<MeshSpringForceField name="Springs" stiffness="100" damping="1" />
<!-- Collision Model -->
<SphereModel name="Spheres Cube2" radius="0.4"/>
</Node>
<Node name="CubeGeometry1">
<MechanicalObject name="Particles" template="Vec3d"
position="0 0 1 1 0 1 0 1 1 1 1 1 0 0 2 1 0 2 0 1 2 1 1 2"
translation="0 1 2"/>
<MeshTopology name="Topology" hexas="0 4 6 2 1 5 7 3" />
<UniformMass name="Mass" totalmass="1" />
<MeshSpringForceField name="Springs" stiffness="100" damping="1" />
<!-- Collision Models -->
<TriangleModel name="Triangles CubeGeometry1"/>
<LineModel name="Lines CubeGeometry1"/>
<PointModel name="Points CubeGeometry1"/>
</Node>
<Node name="CubeGeometry2">
<MechanicalObject name="Particles" template="Vec3d"
position="0 0 1 1 0 1 0 1 1 1 1 1 0 0 2 1 0 2 0 1 2 1 1 2"
translation="2 1 2"/>
<MeshTopology name="Topology" hexas="0 4 6 2 1 5 7 3" />
<UniformMass name="Mass" totalmass="1" />
<MeshSpringForceField name="Springs" stiffness="100" damping="1" />
<!-- Collision Models -->
<TriangleModel name="Triangles CubeGeometry2"/>
<LineModel name="Lines CubeGeometry2"/>
<PointModel name="Points CubeGeometry2"/>
</Node>
</Node>
<Node name="SaladBowl">
<MeshTopology name="Topology Salad Bowl" filename="mesh/SaladBowl.obj"/>
<MechanicalObject name="Particles Salad Bowl" scale="10"/>
<TriangleModel name="Triangles Salad Bowl" moving="0" simulated="0"/>
<LineModel name="Lines Salad Bowl" moving="0" simulated="0"/>
<PointModel name="Points Salad Bowl" moving="0" simulated="0"/>
</Node>
</Node>
|