<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Mechanism xmlns="http://www.dmg-lib.org/mechanism" dmglib_MecID="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.dmg-lib.org/mechanism http://dmg-lib.org/dmglib/schemas/mechanism.xsd">

  <Shapes xmlns="http://www.dmg-lib.org/shapes">
    <Shape id="SwivelJoint.2D.fixed" scale="0.02">
      <Line id="SwivelJoint.2D.fixed..line1" x1="-0.75" x2="-1.75" y1="-0.75" y2="-3"/>
      <Line id="SwivelJoint.2D.fixed..line2" x1="0.75" x2="1.75" y1="-0.75" y2="-3"/>
      <Line id="SwivelJoint.2D.fixed..line3" x1="-2.5" x2="2.5" y1="-3" y2="-3"/>
      <Line id="SwivelJoint.2D.fixed..line4" x1="-2.25" x2="-0.75" y1="-3" y2="-4.25"/>
      <Line id="SwivelJoint.2D.fixed..line5" x1="-1.125" x2="0.375" y1="-3" y2="-4.25"/>
      <Line id="SwivelJoint.2D.fixed..line6" x1="0" x2="1.5" y1="-3" y2="-4.25"/>
      <Line id="SwivelJoint.2D.fixed..line7" x1="1.125" x2="2.625" y1="-3" y2="-4.25"/>
      <Line id="SwivelJoint.2D.fixed..line8" x1="2.25" x2="3.75" y1="-3" y2="-4.25"/>
      <Circle cx="0" cy="0" filled="false" id="SwivelJoint.2D.fixed..circle" radius="1"/>
    </Shape>
    <Shape id="SwivelJoint.3D">
      <Cylinder height="0.1" id="SwivelJoint.3D..cyl" location="xy" origin="0,0,-0.05" radius="0.0125"/>
    </Shape>
    <Shape id="Bar.2D.normal">
      <Line id="Bar.2D.normal..line" x1="0" x2="1" y1="0" y2="0"/>
      
      <![CDATA[
      function transform(sx,sy)
      {
          line.x1 = line.x1 * sx;
          line.y1 = line.y1 * sy;
          line.x2 = line.x2 * sx;
          line.y2 = line.y2 * sy;
      }
]]>
    </Shape>
    <Shape id="Bar.3D">
      <Cylinder height="0.05" id="Bar.3D..cyl1" location="xy" origin="0,0,-0.025" radius="0.025"/>
      <Cylinder height="0.05" id="Bar.3D..cyl2" location="xy" origin="1,0,-0.025" radius="0.025"/>
      <Cylinder height="0.05" id="Bar.3D..cyl3" location="xy" origin="0,0,-0.025" radius="0.0125"/>
      <Cylinder height="0.05" id="Bar.3D..cyl4" location="xy" origin="1,0,-0.025" radius="0.0125"/>
      <Box height="0.05" id="Bar.3D..box" length="1" location="yz" origin="0,0,0" width="0.05"/>
      <Union geometry1="Bar.3D..box" geometry2="Bar.3D..cyl1" id="Bar.3D..union1"/>
      <Union geometry1="Bar.3D..union1" geometry2="Bar.3D..cyl2" id="Bar.3D..union2"/>
      <Difference geometry1="Bar.3D..union2" geometry2="Bar.3D..cyl3" id="Bar.3D..diff1"/>
      <Difference geometry1="Bar.3D..diff1" geometry2="Bar.3D..cyl4" id="Bar.3D..diff2"/>
      
      <![CDATA[
      function transform(sx,sy)
      {
          box.length = box.length * sx;
          cyl1.originx = cyl1.originx * sx;
          cyl2.originx = cyl2.originx * sx;
          cyl3.originx = cyl3.originx * sx;
          cyl4.originx = cyl4.originx * sx;
      }
]]>
    </Shape>
    <Shape id="RigidJoint.2D.normal" scale="0.02">
      <Rectangle cx="0" cy="0" filled="true" height="2" id="RigidJoint.2D.normal..rect" width="2"/>
    </Shape>
    <Shape id="SlidingJoint.2D.normal" scale="0.02">
      <Line id="SlidingJoint.2D.normal..line1" x1="-2.5" x2="2.5" y1="-1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.normal..line2" x1="-2.5" x2="2.5" y1="1.25" y2="1.25"/>
      <Line id="SlidingJoint.2D.normal..line3" x1="-2.5" x2="-2.5" y1="1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.normal..line4" x1="2.5" x2="2.5" y1="1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.normal..line5" x1="-2.5" x2="2.5" y1="-1.25" y2="1.25"/>
      <Line id="SlidingJoint.2D.normal..line6" x1="-2.5" x2="2.5" y1="1.25" y2="-1.25"/>
    </Shape>
    <Shape id="SwivelJoint.2D.normal" scale="0.02">
      <Circle cx="0" cy="0" filled="false" id="SwivelJoint.2D.normal..circle" radius="1"/>
    </Shape>
    <Shape id="SlidingJoint.2D.fixed" scale="0.02">
      <Line id="SlidingJoint.2D.fixed..line1" x1="-2.5" x2="2.5" y1="-1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.fixed..line2" x1="-2.5" x2="2.5" y1="1.25" y2="1.25"/>
      <Line id="SlidingJoint.2D.fixed..line3" x1="-2.5" x2="-2.5" y1="1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.fixed..line4" x1="2.5" x2="2.5" y1="1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.fixed..line5" x1="-2.5" x2="2.5" y1="-1.25" y2="1.25"/>
      <Line id="SlidingJoint.2D.fixed..line6" x1="-2.5" x2="2.5" y1="1.25" y2="-1.25"/>
      <Line id="SlidingJoint.2D.fixed..line7" x1="-2.25" x2="-0.75" y1="-1.25" y2="-2.5"/>
      <Line id="SlidingJoint.2D.fixed..line8" x1="-1.125" x2="0.375" y1="-1.25" y2="-2.5"/>
      <Line id="SlidingJoint.2D.fixed..line9" x1="0" x2="1.5" y1="-1.25" y2="-2.5"/>
      <Line id="SlidingJoint.2D.fixed..line10" x1="1.125" x2="2.625" y1="-1.25" y2="-2.5"/>
      <Line id="SlidingJoint.2D.fixed..line11" x1="2.25" x2="3.75" y1="-1.25" y2="-2.5"/>
    </Shape>
    <Shape id="Point.2D.normal" scale="0.019">
      <Circle cx="0" cy="0" filled="true" id="Point.2D.normal..circle" radius="1"/>
    </Shape>
  </Shapes>

  <ComponentSpaces xmlns="http://www.dmg-lib.org/componentspaces">
    <ComponentSpace id="cspace1" type="planar">
      <Positions>
        <Position id="pos1" x="-0.171195" y="-0.33187"/>
        <Position id="pos2" x="-0.171195" y="-0.33187"/>
        <Position id="pos3" x="-0.24238" y="-0.284177"/>
        <Position id="pos4" x="-0.24238" y="-0.284177"/>
        <Position id="pos5" x="-0.100656" y="0.106949"/>
        <Position id="pos6" x="-0.24238" y="-0.284177"/>
        <Position id="pos7" x="0.251533" y="0.723721"/>
        <Position id="pos8" x="-0.0927404" y="0.0211829"/>
        <Position id="pos9" x="-0.0927404" y="0.0211829"/>
        <Position id="pos10" x="-0.100656" y="0.106949"/>
        <Position id="pos11" x="-0.0927404" y="0.0211829"/>
        <Position id="pos12" x="-0.100656" y="0.106949"/>
        <Position id="pos13" x="-1.20056" y="0.106949"/>
        <Position id="pos14" x="-0.11044" y="0.106949"/>
      </Positions>
      <Scalars>
        <Scalar id="scalar1" value="-0.33187"/>
        <Scalar id="scalar2" value="0"/>
        <Scalar id="scalar3" value="2.55129"/>
        <Scalar id="scalar4" value="-0.370998"/>
        <Scalar id="scalar5" value="0.0856849"/>
        <Scalar id="scalar6" value="0"/>
        <Scalar id="scalar7" value="0.575606"/>
        <Scalar id="scalar8" value="0"/>
        <Scalar id="scalar9" value="-2.71538e-005"/>
        <Scalar id="scalar10" value="1.11515"/>
        <Scalar id="scalar11" value="-0.0926001"/>
        <Scalar id="scalar12" value="1.12241"/>
        <Scalar id="scalar13" value="-0.0926001"/>
        <Scalar id="scalar14" value="1.11515"/>
        <Scalar id="scalar15" value="0.0211829"/>
        <Scalar id="scalar16" value="0"/>
        <Scalar id="scalar17" value="-1.47877"/>
        <Scalar id="scalar18" value="0.0904013"/>
        <Scalar id="scalar19" value="0.0861302"/>
        <Scalar id="scalar20" value="3.14159"/>
        <Scalar id="scalar21" value="0.106949"/>
        <Scalar id="scalar22" value="1.09991"/>
        <Scalar id="scalar23" value="0.106949"/>
        <Scalar id="scalar24" value="3.14159"/>
      </Scalars>
      <Elements>
        <Bar fixed="false" id="sBar154">
          <Point fixed="false" id="sBar154.pt1" posRef="pos2"/>
          <Point fixed="false" id="sBar154.pt2" posRef="pos3"/>
          <Line fixed="false" id="sBar154.axis">
            <Param fixed="false" id="sBar154.axis.dir" scalarRef="scalar3"/>
            <Param fixed="false" id="sBar154.axis.offs" scalarRef="scalar4"/>
          </Line>
          <Param fixed="true" id="sBar154.length" scalarRef="scalar5"/>
        </Bar>
        <Bar fixed="false" id="sBar158">
          <Point fixed="false" id="sBar158.pt1" posRef="pos6"/>
          <Point fixed="false" id="sBar158.pt2" posRef="pos7"/>
          <Line fixed="false" id="sBar158.axis">
            <Param fixed="false" id="sBar158.axis.dir" scalarRef="scalar10"/>
            <Param fixed="false" id="sBar158.axis.offs" scalarRef="scalar11"/>
          </Line>
          <Param fixed="true" id="sBar158.length" scalarRef="scalar12"/>
        </Bar>
        <Bar fixed="false" id="sBar159">
          <Point fixed="false" id="sBar159.pt1" posRef="pos10"/>
          <Point fixed="false" id="sBar159.pt2" posRef="pos11"/>
          <Line fixed="false" id="sBar159.axis">
            <Param fixed="false" id="sBar159.axis.dir" scalarRef="scalar17"/>
            <Param fixed="false" id="sBar159.axis.offs" scalarRef="scalar18"/>
          </Line>
          <Param fixed="true" id="sBar159.length" scalarRef="scalar19"/>
        </Bar>
        <Bar fixed="false" id="sBar160">
          <Point fixed="false" id="sBar160.pt1" posRef="pos12"/>
          <Point fixed="false" id="sBar160.pt2" posRef="pos13"/>
          <Line fixed="false" id="sBar160.axis">
            <Param fixed="false" id="sBar160.axis.dir" scalarRef="scalar20"/>
            <Param fixed="false" id="sBar160.axis.offs" scalarRef="scalar21"/>
          </Line>
          <Param fixed="true" id="sBar160.length" scalarRef="scalar22"/>
        </Bar>
      </Elements>
      <Couplings>
        <SwivelJoint fixed="true" id="swj124">
          <Point fixed="true" id="swj124.pt" posRef="pos1"/>
          <Line fixed="false" id="swj124.line">
            <Param fixed="false" id="swj124.line.dir" scalarRef="scalar2"/>
            <Param fixed="false" id="swj124.line.offs" scalarRef="scalar1"/>
          </Line>
        </SwivelJoint>
        <SwivelJoint fixed="false" id="swj126">
          <Point fixed="false" id="swj126.pt" posRef="pos9"/>
          <Line fixed="false" id="swj126.line">
            <Param fixed="false" id="swj126.line.dir" scalarRef="scalar16"/>
            <Param fixed="false" id="swj126.line.offs" scalarRef="scalar15"/>
          </Line>
        </SwivelJoint>
        <SlidingJoint fixed="false" id="slj51">
          <Point fixed="false" id="slj51.pt" posRef="pos8"/>
          <Line fixed="false" id="slj51.axis">
            <Param fixed="false" id="slj51.axis.dir" scalarRef="scalar14"/>
            <Param fixed="false" id="slj51.axis.offs" scalarRef="scalar13"/>
          </Line>
        </SlidingJoint>
        <SlidingJoint fixed="true" id="slj52">
          <Point fixed="true" id="slj52.pt" posRef="pos14"/>
          <Line fixed="true" id="slj52.axis">
            <Param fixed="false" id="slj52.axis.dir" scalarRef="scalar24"/>
            <Param fixed="false" id="slj52.axis.offs" scalarRef="scalar23"/>
          </Line>
        </SlidingJoint>
        <RigidJoint fixed="false" id="rgj39">
          <Point fixed="false" id="rgj39.pt" posRef="pos4"/>
          <Line fixed="false" id="rgj39.axis">
            <Param fixed="false" id="rgj39.axis.dir" scalarRef="scalar7"/>
            <Param fixed="false" id="rgj39.axis.offs" scalarRef="scalar6"/>
          </Line>
        </RigidJoint>
        <RigidJoint fixed="false" id="rgj41">
          <Point fixed="false" id="rgj41.pt" posRef="pos5"/>
          <Line fixed="false" id="rgj41.axis">
            <Param fixed="false" id="rgj41.axis.dir" scalarRef="scalar9"/>
            <Param fixed="false" id="rgj41.axis.offs" scalarRef="scalar8"/>
          </Line>
        </RigidJoint>
      </Couplings>
      <Connections>
        <PointConnection couplingPointRef="rgj39.pt" elementPointRef="sBar158.pt1" id="pointcon1"/>
        <PointConnection couplingPointRef="rgj39.pt" elementPointRef="sBar154.pt2" id="pointcon2"/>
        <PointConnection couplingPointRef="rgj41.pt" elementPointRef="sBar160.pt1" id="pointcon3"/>
        <PointConnection couplingPointRef="rgj41.pt" elementPointRef="sBar159.pt1" id="pointcon4"/>
        <PointConnection couplingPointRef="swj124.pt" elementPointRef="sBar154.pt1" id="pointcon5"/>
        <PointConnection couplingPointRef="swj126.pt" elementPointRef="sBar159.pt2" id="pointcon6"/>
        <LineConnection couplingLineRef="slj51.axis" elementLineRef="sBar158.axis" id="linecon8"/>
        <LineConnection couplingLineRef="slj52.axis" elementLineRef="sBar160.axis" id="linecon9"/>
        <CouplingConnection coupling1Ref="swj126" coupling2Ref="slj51" id="couplingcon7" role="SlidingSwivelJoint"/>
      </Connections>
    </ComponentSpace>
  </ComponentSpaces>

</Mechanism>
