Your IP : 216.73.216.48


Current Path : /usr/X11R6/share/apps/step/tutorials/
Upload File :
Current File : //usr/X11R6/share/apps/step/tutorials/tutorial4.step

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE StepCoreXML>
<world xmlns="http://edu.kde.org/step/StepCoreXML" version="1.0" id="1">
    <name>world1</name>
    <color>#ffffffff</color>
    <time>33.9199999999995</time>
    <timeScale>1</timeScale>
    <errorsCalculation>false</errorsCalculation>

    <item class="Disk" id="2">
        <name>disk1</name>
        <color>#ff000000</color>
        <position>(-1.122,-1.3)</position>
        <angle>0</angle>
        <velocity>(0.349794,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>1</mass>
        <inertia>0.09365</inertia>
        <radius>0.432781700167648</radius>
    </item>

    <item class="Box" id="3">
        <name>box1</name>
        <color>#ff000000</color>
        <position>(1.272,-1.3)</position>
        <angle>0</angle>
        <velocity>(-0.349794,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>1</mass>
        <inertia>0.177241666666667</inertia>
        <size>(0.5,1.37)</size>
    </item>

    <item class="Spring" id="4">
        <name>spring1</name>
        <color>#ff00ff00</color>
        <restLength>3</restLength>
        <stiffness>1</stiffness>
        <damping>0</damping>
        <body1>2</body1>
        <body2>3</body2>
        <localPosition1>(0,0)</localPosition1>
        <localPosition2>(0,0)</localPosition2>
    </item>

    <item class="LinearMotor" id="5">
        <name>linearMotor1</name>
        <color>#ff0000ff</color>
        <body>2</body>
        <localPosition>(0,0)</localPosition>
        <forceValue>(0.5,0)</forceValue>
    </item>

    <item class="LinearMotor" id="6">
        <name>linearMotor2</name>
        <color>#ff0000ff</color>
        <body>3</body>
        <localPosition>(0,0)</localPosition>
        <forceValue>(-0.5,0)</forceValue>
    </item>

    <item class="Controller" id="7">
        <name>controller1</name>
        <color>#ff000000</color>
        <position>(0,1.28)</position>
        <size>(250,60)</size>
        <object>5</object>
        <property>forceValue</property>
        <index>0</index>
        <limits>(-10,10)</limits>
        <increaseShortcut></increaseShortcut>
        <decreaseShortcut></decreaseShortcut>
        <increment>0.1</increment>
    </item>

    <item class="Controller" id="8">
        <name>controller2</name>
        <color>#ff000000</color>
        <position>(0,0.46)</position>
        <size>(250,60)</size>
        <object>6</object>
        <property>forceValue</property>
        <index>0</index>
        <limits>(-10,10)</limits>
        <increaseShortcut></increaseShortcut>
        <decreaseShortcut></decreaseShortcut>
        <increment>0.1</increment>
    </item>

    <item class="Note" id="9">
        <name>note1</name>
        <color>#ff000000</color>
        <position>(-1.08,1.98)</position>
        <size>(218,100)</size>
        <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;
&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;
p, li { white-space: pre-wrap; }
&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;
&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;
&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>

    </item>

    <item class="Note" id="10">
        <name>note2</name>
        <color>#ff000000</color>
        <position>(-3.6,1.07)</position>
        <size>(300,170)</size>
        <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;
&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;
p, li { white-space: pre-wrap; }
&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;
&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;
&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;
&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 
while the motor is selected.&lt;/p&gt;
&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>

    </item>

    <item class="Note" id="11">
        <name>note4</name>
        <color>#ff000000</color>
        <position>(-3.6,-0.35)</position>
        <size>(300,130)</size>
        <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;
&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;
p, li { white-space: pre-wrap; }
&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;
&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;
&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;
&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>

    </item>

    <item class="Note" id="12">
        <name>note3</name>
        <color>#ff000000</color>
        <position>(-3.6,-1.99)</position>
        <size>(300,198)</size>
        <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;
&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;
p, li { white-space: pre-wrap; }
&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;
&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;
&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;
&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;
&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>

    </item>

    <item class="Box" id="13">
        <name>box2</name>
        <color>#ff000000</color>
        <position>(-1.48,-3.815)</position>
        <angle>0</angle>
        <velocity>(0,0)</velocity>
        <angularVelocity>0</angularVelocity>
        <mass>1e+100</mass>
        <inertia>1e+100</inertia>
        <size>(7.8,0.19)</size>
    </item>

    <item class="Anchor" id="14">
        <name>anchor1</name>
        <color>#ffff0000</color>
        <body>13</body>
        <position>(-1.48,-3.815)</position>
        <angle>0</angle>
    </item>

    <solver class="AdaptiveEulerSolver" id="15">
        <name>solver1</name>
        <stepSize>1</stepSize>
        <toleranceAbs>0.001</toleranceAbs>
        <toleranceRel>0.001</toleranceRel>
    </solver>

    <collisionSolver class="GJKCollisionSolver" id="16">
        <name>collisionSolver1</name>
        <toleranceAbs>0.001</toleranceAbs>
    </collisionSolver>

    <constraintSolver class="CGConstraintSolver" id="17">
        <name>constraintSolver1</name>
    </constraintSolver>

</world>