forked from SofaDefrost/Shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShellTest.scn
More file actions
46 lines (36 loc) · 2.36 KB
/
ShellTest.scn
File metadata and controls
46 lines (36 loc) · 2.36 KB
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
<?xml version="1.0"?>
<Node name="Root" gravity="0 -98.1 0" time="0" animate="0">
<Node name="plugins">
<RequiredPlugin name="Shell"/>
<RequiredPlugin name="Sofa.Component.Constraint.Projective"/> <!-- Needed to use components [FixedProjectiveConstraint] -->
<RequiredPlugin name="Sofa.Component.Engine.Select"/> <!-- Needed to use components [BoxROI] -->
<RequiredPlugin name="Sofa.Component.IO.Mesh"/> <!-- Needed to use components [MeshOBJLoader] -->
<RequiredPlugin name="Sofa.Component.LinearSolver.Direct"/> <!-- Needed to use components [SparseLDLSolver] -->
<RequiredPlugin name="Sofa.Component.Mapping.Linear"/> <!-- Needed to use components [IdentityMapping] -->
<RequiredPlugin name="Sofa.Component.Mass"/> <!-- Needed to use components [UniformMass] -->
<RequiredPlugin name="Sofa.Component.ODESolver.Backward"/> <!-- Needed to use components [EulerImplicitSolver] -->
<RequiredPlugin name="Sofa.Component.StateContainer"/> <!-- Needed to use components [MechanicalObject] -->
<RequiredPlugin name="Sofa.Component.Topology.Container.Constant"/> <!-- Needed to use components [MeshTopology] -->
<RequiredPlugin name="Sofa.Component.Visual"/> <!-- Needed to use components [VisualStyle] -->
<RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
<RequiredPlugin name="Sofa.GUI.Component"/> <!-- Needed to use components [AttachBodyButtonSetting] -->
</Node>
<AttachBodyButtonSetting stiffness="0.1"/>
<DefaultAnimationLoop/>
<VisualStyle displayFlags="hideVisualModels hideBehaviorModels showMappings showForceFields"/>
<Node name="Square">
<EulerImplicitSolver/>
<SparseLDLSolver template="CompressedRowSparseMatrixMat3x3d"/>
<MeshOBJLoader name="loader" filename="mesh/square1.obj"/>
<MeshTopology name="topology" src="@loader"/>
<MechanicalObject template="Rigid3d"/>
<UniformMass totalMass="0.005"/>
<BoxROI name="box" box="0 0.9 -0.1 1 1 0.1" drawBoxes="1"/>
<FixedProjectiveConstraint indices="@box.indices"/>
<TriangularBendingFEMForceField youngModulus="1.7e3" poissonRatio="0.3" thickness="0.01"/>
<Node name="Visu">
<OglModel src="@../topology"/>
<IdentityMapping/>
</Node>
</Node>
</Node>