|
32 | 32 | <CollisionResponse name="Response" response="PenaltyContactForceField"/> |
33 | 33 | <MinProximityIntersection name="Proximity" alarmDistance="0.8" contactDistance="0.5"/> |
34 | 34 |
|
35 | | - <!--<Node name="pointA"> |
36 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="0 0 0 0 0 0 1"/> |
37 | | - </Node> |
38 | | -
|
39 | | - <Node name="pointB"> |
40 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="0.5 0 0 0 0 0 1"/> |
41 | | - </Node> |
42 | | -
|
43 | | - <Node name="pointC"> |
44 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="1 0 0 0 0 0 1"/> |
45 | | - </Node> |
46 | | -
|
47 | | - <Node name="pointD"> |
48 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="0.25 0.45 0 0 0 0 1"/> |
49 | | - </Node> |
50 | | -
|
51 | | - <Node name="pointE"> |
52 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="0.75 0.45 0 0 0 1"/> |
53 | | - </Node> |
54 | | -
|
55 | | - <Node name="pointF"> |
56 | | - <MechanicalObject template="Rigid3" name="fixedPoint" position="0.5 0.9 0 0 0 0 1"/> |
57 | | - </Node>--> |
58 | | - |
59 | 35 | <Node name="4triangles"> |
60 | 36 | <EulerImplicitSolver rayleighMass="1.0" rayleighStiffness="1.5"/> |
61 | | - <!-- <CGLinearSolver iterations="100" tolerance="1e-15" threshold="1e-15"/>--> |
62 | | - <!-- <CGLinearSolver template="FullMatrix" iterations="100" tolerance="1e-15" threshold="1e-15"/>--> |
| 37 | + <!--<CGLinearSolver iterations="100" tolerance="1e-15" threshold="1e-15"/>--> |
| 38 | + <!--<CGLinearSolver template="FullMatrix" iterations="100" tolerance="1e-15" threshold="1e-15"/>--> |
63 | 39 | <!--<SparseLDLSolver name="SparseLDL Solver" printLog="false" />--> |
64 | 40 | <CGLinearSolver iterations="100" tolerance="1e-15" threshold="1e-15"/> |
65 | 41 | <Node name="fixed"> |
66 | 42 | <MeshOBJLoader name="loader" filename="../../../Shell/mesh/4triangles_bis.obj"/> |
67 | 43 | <TriangleSetTopologyContainer name="baseTriangles" src="@loader" /> |
68 | 44 | <MechanicalObject name="tri" template="Rigid3" topology="@baseTriangles" showIndices="true" showIndicesScale="0.0007"/> |
69 | 45 | <UniformMass vertexMass="0.1 0.1 [ 0.1 0 0 , 0 0.1 0 , 0 0 0.05 ]" showAxisSizeFactor="0.2" /> |
70 | | - <!--<AttachProjectiveConstraint name="Constraint" object2="@tri" object1="@/pointA/fixedPoint" indices1="0" indices2="0" freeRotations="false" /> |
71 | | - <AttachProjectiveConstraint name="Constraint2" object2="@tri" object1="@/pointC/fixedPoint" indices1="0" indices2="2" freeRotations="false" />--> |
72 | 46 | <FixedProjectiveConstraint indices="0 2"/> |
73 | 47 | <FixedRotationProjectiveConstraint FixedZRotation="true"/> |
74 | 48 | <ConstantForceField indices="5" forces="0 0 1 0 0 0"/> |
|
77 | 51 | <TriangleSetTopologyContainer name="subTriangles"/> |
78 | 52 | <!--<TriangleSubdivisionTopologicalMapping object1="baseTriangles" object2="subTriangles" subdivisions="2"/>--> |
79 | 53 | <MechanicalObject name="subPoints" topology="@subTriangles" showIndices="true" showIndicesScale="0.0003"/> |
80 | | - <!-- <ConstantForceField points="5 9" forces="0 0 3"/>--> |
| 54 | + <!--<ConstantForceField points="5 9" forces="0 0 3"/>--> |
81 | 55 | <BendingPlateMechanicalMapping input="@../tri" output="@subPoints"/> |
82 | 56 | <TriangleCollisionModel /> |
83 | 57 | <Node name="visual"> |
|
86 | 60 | </Node> |
87 | 61 | </Node> |
88 | 62 | </Node> |
89 | | -<!-- <Node>--> |
90 | | -<!-- <MechanicalObject name="basePointsVec3" template="Vec3d"/>--> |
91 | | -<!-- <IdentityMapping/>--> |
92 | | -<!-- <Node name="VisualBasePoints">--> |
93 | | -<!-- <OglModel name="Visual" color="green"/>--> |
94 | | -<!-- <IdentityMapping object1="basePointsVec3" object2="Visual"/>--> |
95 | | -<!-- </Node>--> |
96 | | -<!-- </Node>--> |
97 | | - |
98 | 63 |
|
99 | 64 |
|
100 | 65 | </Node> |
|
0 commit comments