File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Topology/Container/Dynamic Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4141 <include href="Objects/TriangleSetTopology.xml" src="@../loader" tags=" " />
4242 <Tetra2TriangleTopologicalMapping input="@../Container" output="@Container" />
4343 <TriangularBendingSprings name="FEM-Bend" stiffness="100" damping="1.0" />
44- <TrianglePressureForceField normal="0 0 1" dmin="0.9" dmax="1.1" pressure="0.4 0 0" />
44+ <BoxROI name="pressureROI" position="@../Volume.position" triangles="@Container.triangles" box="0.9 -0.01 -0.01 1.1 1.01 1.01" drawBoxes="1"/>
45+ <TrianglePressureForceField name="PFF" triangleList="@pressureROI.triangleIndices" pressure="0.4 0 0"/>
4546 <TriangleCollisionModel />
4647 <Node name="Visu">
4748 <OglModel template="Vec3" name="Visual" material="Default Diffuse 1 0 0 1 0.5 Ambient 1 0.2 0 0 1 Specular 0 1 0 0 1 Emissive 0 1 0 0 1 Shininess 0 45" />
Original file line number Diff line number Diff line change 123123 <include href="Objects/TriangleSetTopology.xml" src="@loader" />
124124 <DiagonalMass massDensity="0.015" />
125125 <FixedProjectiveConstraint indices="0 1" />
126- <TrianglePressureForceField name="PFF" normal="0 0 1" dmin="0.9" dmax="1.1" pressure="0 1 0" />
126+ <BoxROI name="pressureROI" position="@../Volume.position" triangles="@Container.triangles" box="0.9 -0.01 -0.01 1.1 1.01 1.01" drawBoxes="1"/>
127+ <TrianglePressureForceField name="PFF" triangleList="@pressureROI.triangleIndices" pressure="0 1 0"/>
127128 <TriangleCollisionModel />
128129 <Node >
129130 <OglModel name="Visual" color="blue" />
Original file line number Diff line number Diff line change 131131 <include href="Objects/TriangleSetTopology.xml" src="@loader" />
132132 <DiagonalMass massDensity="0.015" />
133133 <FixedProjectiveConstraint indices="0 1" />
134- <TrianglePressureForceField name="PFF" normal="0 0 1" dmin="0.9" dmax="1.1" pressure="1 0 0" />
134+ <BoxROI name="pressureROI" position="@../Volume.position" triangles="@Container.triangles" box="0.9 -0.01 -0.01 1.1 1.01 1.01" drawBoxes="1"/>
135+ <TrianglePressureForceField name="PFF" triangleList="@pressureROI.triangleIndices" pressure="1 0 0"/>
135136 <TriangleCollisionModel />
136137
137138 <Node >
You can’t perform that action at this time.
0 commit comments