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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0059 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0060 p, li { white-space: pre-wrap; } 0061 </style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> 0062 <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:14pt; font-weight:600;">Tutorial 5</span></p> 0063 <p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt;">Joints</span></p> 0064 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0074 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0075 p, li { white-space: pre-wrap; } 0076 </style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> 0077 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Quest</span></p> 0078 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Create graphs to display coordinates of particles in double pendulum.</p> 0079 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Create triple pendulum by attaching one more particle to the particle2 using the stick.</p> 0080 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- Remove anchor1 that fixes position of the box and attach a pin to the corner of the box. Try starting the simulation.</p></body></html></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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> 0110 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 0111 p, li { white-space: pre-wrap; } 0112 </style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> 0113 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Joints</span></p> 0114 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400;">- Joints are objects that attach bodies to each other or to the background.</span></p> 0115 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- An anchor is a joint that fixes the position of the body.</p> 0116 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- A pin is a joint that fixes one point of the body.</p> 0117 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">- A stick is a joint that fixes the distance between two points on two bodies.</p></body></html></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>