File: TorusFFD.xml

package info (click to toggle)
sofa-framework 1.0~beta4-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 88,820 kB
  • ctags: 27,300
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 68
file content (26 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (5)
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
<Node name="TorusFFD">
	<Object type="EulerImplicitSolver" rayleighStiffness="0.01" />
	<Object type="CGLinearSolver" iterations="25" threshold="0.00000001"/>
	<Object type="RegularGrid"
			nx="6" ny="2" nz="5"
			xmin="-2.5" xmax="2.5"
			ymin="-0.5" ymax="0.5"
			zmin="-2" zmax="2"
		/>
	<Object type="MechanicalObject" dx="0" dy="0" dz="0" rx="0" ry="0" rz="0" scale="1.0" />
	<Object type="UniformMass" totalmass="5" />
	<Object type="RegularGridSpringForceField" name="Springs" stiffness="200" damping="2" />
	<Node name="Visu">
		<Object type="OglModel" name="Visual" fileMesh="mesh/torus.obj" color="yellow"  dx="0" dy="0" dz="0" scale="1.0"/>
		<Object type="BarycentricMapping" object1="../.." object2="Visual" />
	</Node>
	<Node name="Surf2">
	        <Object type="MeshLoader" name="collisionLoader" filename="mesh/torus_for_collision.obj"/>
		<Object type="Mesh"/>
		<Object type="MechanicalObject" dx="0" dy="0" dz="0" scale="1.0"/>
		<Object type="Triangle" />
		<Object type="Line" />
		<Object type="Point" />
		<Object type="BarycentricMapping" />
	</Node>
</Node>