Warning, /education/step/step/data/tutorials/tutorial5.step is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE StepCoreXML>
0003 <world xmlns="http://edu.kde.org/step/StepCoreXML" version="1.0" id="1">
0004     <name>world1</name>
0005     <color>#ffffffff</color>
0006     <time>2.88</time>
0007     <timeScale>1</timeScale>
0008     <errorsCalculation>false</errorsCalculation>
0009 
0010     <item class="Particle" id="2">
0011         <name>particle1</name>
0012         <color>#ff000000</color>
0013         <position>(-0.86,-0.4)</position>
0014         <velocity>(0,0)</velocity>
0015         <mass>1</mass>
0016     </item>
0017 
0018     <item class="Particle" id="3">
0019         <name>particle2</name>
0020         <color>#ff000000</color>
0021         <position>(-0.85,-1.45)</position>
0022         <velocity>(0,0)</velocity>
0023         <mass>1</mass>
0024     </item>
0025 
0026     <item class="Stick" id="4">
0027         <name>stick1</name>
0028         <color>#ffff0000</color>
0029         <restLength>1.28082004981184</restLength>
0030         <body1>10</body1>
0031         <body2>2</body2>
0032         <localPosition1>(0,-0.15)</localPosition1>
0033         <localPosition2>(0,0)</localPosition2>
0034     </item>
0035 
0036     <item class="Stick" id="5">
0037         <name>stick2</name>
0038         <color>#ffff0000</color>
0039         <restLength>1.05004761796787</restLength>
0040         <body1>3</body1>
0041         <body2>2</body2>
0042         <localPosition1>(0,0)</localPosition1>
0043         <localPosition2>(0,0)</localPosition2>
0044     </item>
0045 
0046     <item class="WeightForce" id="6">
0047         <name>weightForce1</name>
0048         <color>#ff000000</color>
0049         <weightConst>9.80665</weightConst>
0050         <weightConstVariance>1e-10</weightConstVariance>
0051     </item>
0052 
0053     <item class="Note" id="7">
0054         <name>note2</name>
0055         <color>#ff000000</color>
0056         <position>(-1.1386,1.48139)</position>
0057         <size>(190,92)</size>
0058         <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;
0059 &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;
0060 p, li { white-space: pre-wrap; }
0061 &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;
0062 &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 5&lt;/span&gt;&lt;/p&gt;
0063 &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;Joints&lt;/span&gt;&lt;/p&gt;
0064 &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
0065 
0066     </item>
0067 
0068     <item class="Note" id="8">
0069         <name>note3</name>
0070         <color>#ff000000</color>
0071         <position>(-2.04059,-0.688861)</position>
0072         <size>(316,196)</size>
0073         <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;
0074 &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;
0075 p, li { white-space: pre-wrap; }
0076 &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;
0077 &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;Quest&lt;/span&gt;&lt;/p&gt;
0078 &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;- Create graphs to display coordinates of particles in double pendulum.&lt;/p&gt;
0079 &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;- Create triple pendulum by attaching one more particle to the particle2 using the stick.&lt;/p&gt;
0080 &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;- Remove anchor1 that fixes position of the box and attach a pin to the corner of the box. Try starting the simulation.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
0081 
0082     </item>
0083 
0084     <item class="Anchor" id="9">
0085         <name>anchor1</name>
0086         <color>#ffff0000</color>
0087         <body>10</body>
0088         <position>(0.01,0.69)</position>
0089         <angle>0</angle>
0090     </item>
0091 
0092     <item class="Box" id="10">
0093         <name>box1</name>
0094         <color>#ff000000</color>
0095         <position>(0.01,0.69)</position>
0096         <angle>0</angle>
0097         <velocity>(0,0)</velocity>
0098         <angularVelocity>0</angularVelocity>
0099         <mass>1</mass>
0100         <inertia>0.109766666666667</inertia>
0101         <size>(1.06,0.44)</size>
0102     </item>
0103 
0104     <item class="Note" id="11">
0105         <name>note6</name>
0106         <color>#ff000000</color>
0107         <position>(-2.05359,0.617376)</position>
0108         <size>(318,182)</size>
0109         <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;
0110 &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;
0111 p, li { white-space: pre-wrap; }
0112 &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;
0113 &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;Joints&lt;/span&gt;&lt;/p&gt;
0114 &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;- Joints are objects that attach bodies to each other or to the background.&lt;/span&gt;&lt;/p&gt;
0115 &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;- An anchor is a joint that fixes the position of the body.&lt;/p&gt;
0116 &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 pin is a joint that fixes one point of the body.&lt;/p&gt;
0117 &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 stick is a joint that fixes the distance between two points on two bodies.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</text>
0118 
0119     </item>
0120 
0121     <solver class="AdaptiveEulerSolver" id="12">
0122         <name>solver1</name>
0123         <stepSize>1</stepSize>
0124         <toleranceAbs>0.001</toleranceAbs>
0125         <toleranceRel>0.001</toleranceRel>
0126     </solver>
0127 
0128     <collisionSolver class="GJKCollisionSolver" id="13">
0129         <name>collisionSolver1</name>
0130         <toleranceAbs>0.001</toleranceAbs>
0131     </collisionSolver>
0132 
0133     <constraintSolver class="CGConstraintSolver" id="14">
0134         <name>constraintSolver1</name>
0135     </constraintSolver>
0136 
0137 </world>