1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE StepCoreXML>
3<world xmlns="http://edu.kde.org/step/StepCoreXML" version="1.0" id="1">
4    <name>world1</name>
5    <color>#ffffffff</color>
6    <time>33.9199999999995</time>
7    <timeScale>1</timeScale>
8    <errorsCalculation>false</errorsCalculation>
9
10    <item class="Disk" id="2">
11        <name>disk1</name>
12        <color>#ff000000</color>
13        <position>(-1.122,-1.3)</position>
14        <angle>0</angle>
15        <velocity>(0.349794,0)</velocity>
16        <angularVelocity>0</angularVelocity>
17        <mass>1</mass>
18        <inertia>0.09365</inertia>
19        <radius>0.432781700167648</radius>
20    </item>
21
22    <item class="Box" id="3">
23        <name>box1</name>
24        <color>#ff000000</color>
25        <position>(1.272,-1.3)</position>
26        <angle>0</angle>
27        <velocity>(-0.349794,0)</velocity>
28        <angularVelocity>0</angularVelocity>
29        <mass>1</mass>
30        <inertia>0.177241666666667</inertia>
31        <size>(0.5,1.37)</size>
32    </item>
33
34    <item class="Spring" id="4">
35        <name>spring1</name>
36        <color>#ff00ff00</color>
37        <restLength>3</restLength>
38        <stiffness>1</stiffness>
39        <damping>0</damping>
40        <body1>2</body1>
41        <body2>3</body2>
42        <localPosition1>(0,0)</localPosition1>
43        <localPosition2>(0,0)</localPosition2>
44    </item>
45
46    <item class="LinearMotor" id="5">
47        <name>linearMotor1</name>
48        <color>#ff0000ff</color>
49        <body>2</body>
50        <localPosition>(0,0)</localPosition>
51        <forceValue>(0.5,0)</forceValue>
52    </item>
53
54    <item class="LinearMotor" id="6">
55        <name>linearMotor2</name>
56        <color>#ff0000ff</color>
57        <body>3</body>
58        <localPosition>(0,0)</localPosition>
59        <forceValue>(-0.5,0)</forceValue>
60    </item>
61
62    <item class="Controller" id="7">
63        <name>controller1</name>
64        <color>#ff000000</color>
65        <position>(0,1.28)</position>
66        <size>(250,60)</size>
67        <object>5</object>
68        <property>forceValue</property>
69        <index>0</index>
70        <limits>(-10,10)</limits>
71        <increaseShortcut></increaseShortcut>
72        <decreaseShortcut></decreaseShortcut>
73        <increment>0.1</increment>
74    </item>
75
76    <item class="Controller" id="8">
77        <name>controller2</name>
78        <color>#ff000000</color>
79        <position>(0,0.46)</position>
80        <size>(250,60)</size>
81        <object>6</object>
82        <property>forceValue</property>
83        <index>0</index>
84        <limits>(-10,10)</limits>
85        <increaseShortcut></increaseShortcut>
86        <decreaseShortcut></decreaseShortcut>
87        <increment>0.1</increment>
88    </item>
89
90    <item class="Note" id="9">
91        <name>note1</name>
92        <color>#ff000000</color>
93        <position>(-1.08,1.98)</position>
94        <size>(218,100)</size>
95        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
96&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
97p, li { white-space: pre-wrap; }
98&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
99&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:14pt; font-weight:600;&quot;&gt;Tutorial 4&lt;/span&gt;&lt;/p&gt;
100&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Motors and forces&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
101
102    </item>
103
104    <item class="Note" id="10">
105        <name>note2</name>
106        <color>#ff000000</color>
107        <position>(-3.6,1.07)</position>
108        <size>(300,170)</size>
109        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
110&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
111p, li { white-space: pre-wrap; }
112&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
113&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Linear motor&lt;/span&gt;&lt;/p&gt;
114&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- A linear motor applies a constant force to a given point on a body.&lt;/p&gt;
115&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- You can change the force by dragging its handler
116while the motor is selected.&lt;/p&gt;
117&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- You can change the point of application by dragging the force&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
118
119    </item>
120
121    <item class="Note" id="11">
122        <name>note4</name>
123        <color>#ff000000</color>
124        <position>(-3.6,-0.35)</position>
125        <size>(300,130)</size>
126        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
127&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
128p, li { white-space: pre-wrap; }
129&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
130&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Circular motor&lt;/span&gt;&lt;/p&gt;
131&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- A circular motor applies a constant angular momentum to a body.&lt;/p&gt;
132&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Try to attach a circular motor to the box and start simulation.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
133
134    </item>
135
136    <item class="Note" id="12">
137        <name>note3</name>
138        <color>#ff000000</color>
139        <position>(-3.6,-1.99)</position>
140        <size>(300,198)</size>
141        <text>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
142&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
143p, li { white-space: pre-wrap; }
144&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
145&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Global forces&lt;/span&gt;&lt;/p&gt;
146&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;&quot;&gt;&lt;span style=&quot; font-weight:400;&quot;&gt;- Global forces are forces that act on all bodies of a specific kind, for example weight force.&lt;/span&gt;&lt;/p&gt;
147&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- By default all global forces in Step are turned off. To turn them on, just add an object for appropriate force to the scene.&lt;/p&gt;
148&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;- Try to add WeightForce to the scene and start the simulation.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
149
150    </item>
151
152    <item class="Box" id="13">
153        <name>box2</name>
154        <color>#ff000000</color>
155        <position>(-1.48,-3.815)</position>
156        <angle>0</angle>
157        <velocity>(0,0)</velocity>
158        <angularVelocity>0</angularVelocity>
159        <mass>1e+100</mass>
160        <inertia>1e+100</inertia>
161        <size>(7.8,0.19)</size>
162    </item>
163
164    <item class="Anchor" id="14">
165        <name>anchor1</name>
166        <color>#ffff0000</color>
167        <body>13</body>
168        <position>(-1.48,-3.815)</position>
169        <angle>0</angle>
170    </item>
171
172    <solver class="AdaptiveEulerSolver" id="15">
173        <name>solver1</name>
174        <stepSize>1</stepSize>
175        <toleranceAbs>0.001</toleranceAbs>
176        <toleranceRel>0.001</toleranceRel>
177    </solver>
178
179    <collisionSolver class="GJKCollisionSolver" id="16">
180        <name>collisionSolver1</name>
181        <toleranceAbs>0.001</toleranceAbs>
182    </collisionSolver>
183
184    <constraintSolver class="CGConstraintSolver" id="17">
185        <name>constraintSolver1</name>
186    </constraintSolver>
187
188</world>
189