Warning, /education/step/step/data/examples/motor.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>0</time>
0007     <timeScale>1</timeScale>
0008     <errorsCalculation>false</errorsCalculation>
0009 
0010     <item class="Polygon" id="2">
0011         <name>polygon1</name>
0012         <color>#ff000000</color>
0013         <position>(0,0)</position>
0014         <angle>0</angle>
0015         <velocity>(0,0)</velocity>
0016         <angularVelocity>0</angularVelocity>
0017         <mass>1</mass>
0018         <inertia>inf</inertia>
0019         <vertexes>(-0.1,0.5),(-0.1,-0.5),(0.1,-0.5),(0.1,0.5)</vertexes>
0020     </item>
0021 
0022     <item class="Spring" id="3">
0023         <name>spring1</name>
0024         <color>#ff00ff00</color>
0025         <restLength>2</restLength>
0026         <stiffness>1</stiffness>
0027         <damping>0</damping>
0028         <body1>2</body1>
0029         <body2>0</body2>
0030         <localPosition1>(0,0)</localPosition1>
0031         <localPosition2>(2,0)</localPosition2>
0032     </item>
0033 
0034     <item class="Particle" id="4">
0035         <name>particle1</name>
0036         <color>#ff000000</color>
0037         <position>(-1.63,0)</position>
0038         <velocity>(0,0)</velocity>
0039         <mass>1</mass>
0040     </item>
0041 
0042     <item class="LinearMotor" id="5">
0043         <name>linearMotor1</name>
0044         <color>#ff0000ff</color>
0045         <body>4</body>
0046         <localPosition>(0,0)</localPosition>
0047         <forceValue>(0.5,0)</forceValue>
0048     </item>
0049 
0050     <item class="Controller" id="6">
0051         <name>controller1</name>
0052         <color>#ff000000</color>
0053         <position>(-0.167994,-1.31006)</position>
0054         <size>(300,60)</size>
0055         <object>5</object>
0056         <property>forceValue</property>
0057         <index>0</index>
0058         <limits>(-1,1)</limits>
0059         <increaseShortcut></increaseShortcut>
0060         <decreaseShortcut></decreaseShortcut>
0061         <increment>0.1</increment>
0062     </item>
0063 
0064     <solver class="AdaptiveEulerSolver" id="7">
0065         <name>solver1</name>
0066         <stepSize>1</stepSize>
0067         <toleranceAbs>0.001</toleranceAbs>
0068         <toleranceRel>0.001</toleranceRel>
0069     </solver>
0070 
0071     <collisionSolver class="GJKCollisionSolver" id="8">
0072         <name>collisionSolver1</name>
0073         <toleranceAbs>0.001</toleranceAbs>
0074     </collisionSolver>
0075 
0076     <constraintSolver class="CGConstraintSolver" id="9">
0077         <name>constraintSolver1</name>
0078     </constraintSolver>
0079 
0080 </world>