<?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="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="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="SwivelJoint.3D">
      <Cylinder height="0.1" id="SwivelJoint.3D..cyl" location="xy" origin="0,0,-0.05" radius="0.0125"/>
    </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="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="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.767919" y="0.360636"/>
        <Position id="pos2" x="0.759287" y="0.360636"/>
        <Position id="pos3" x="-0.37677" y="0.360636"/>
        <Position id="pos4" x="-0.37677" y="0.360636"/>
        <Position id="pos5" x="-0.37677" y="0.360636"/>
        <Position id="pos6" x="-0.540605" y="-0.016177"/>
        <Position id="pos7" x="-0.540605" y="-0.016177"/>
        <Position id="pos8" x="-0.540605" y="-0.016177"/>
        <Position id="pos9" x="0.299322" y="-0.412851"/>
        <Position id="pos10" x="-0.076583" y="-0.235321"/>
        <Position id="pos11" x="-0.076583" y="-0.235321"/>
      </Positions>
      <Scalars>
        <Scalar id="scalar1" value="0"/>
        <Scalar id="scalar2" value="-0.360636"/>
        <Scalar id="scalar3" value="1.52721"/>
        <Scalar id="scalar4" value="-0.360636"/>
        <Scalar id="scalar5" value="0"/>
        <Scalar id="scalar6" value="0.360636"/>
        <Scalar id="scalar7" value="0"/>
        <Scalar id="scalar8" value="-1.98093"/>
        <Scalar id="scalar9" value="0.489321"/>
        <Scalar id="scalar10" value="0.410889"/>
        <Scalar id="scalar11" value="0"/>
        <Scalar id="scalar12" value="0.000270856"/>
        <Scalar id="scalar13" value="-0.44122"/>
        <Scalar id="scalar14" value="0.245489"/>
        <Scalar id="scalar15" value="0.928885"/>
        <Scalar id="scalar16" value="0.245489"/>
        <Scalar id="scalar17" value="-0.44122"/>
        <Scalar id="scalar18" value="-0.235321"/>
        <Scalar id="scalar19" value="0"/>
      </Scalars>
      <Elements>
        <Bar fixed="true" id="sBar10">
          <Point fixed="true" id="sBar10.pt1" posRef="pos1"/>
          <Point fixed="true" id="sBar10.pt2" posRef="pos2"/>
          <Line fixed="true" id="sBar10.axis">
            <Param fixed="false" id="sBar10.axis.dir" scalarRef="scalar1"/>
            <Param fixed="false" id="sBar10.axis.offs" scalarRef="scalar2"/>
          </Line>
          <Param fixed="true" id="sBar10.length" scalarRef="scalar3"/>
        </Bar>
        <Bar fixed="false" id="sBar11">
          <Point fixed="false" id="sBar11.pt1" posRef="pos5"/>
          <Point fixed="false" id="sBar11.pt2" posRef="pos6"/>
          <Line fixed="false" id="sBar11.axis">
            <Param fixed="false" id="sBar11.axis.dir" scalarRef="scalar8"/>
            <Param fixed="false" id="sBar11.axis.offs" scalarRef="scalar9"/>
          </Line>
          <Param fixed="true" id="sBar11.length" scalarRef="scalar10"/>
        </Bar>
        <Bar fixed="false" id="sBar12">
          <Point fixed="false" id="sBar12.pt1" posRef="pos8"/>
          <Point fixed="false" id="sBar12.pt2" posRef="pos9"/>
          <Line fixed="false" id="sBar12.axis">
            <Param fixed="false" id="sBar12.axis.dir" scalarRef="scalar13"/>
            <Param fixed="false" id="sBar12.axis.offs" scalarRef="scalar14"/>
          </Line>
          <Param fixed="true" id="sBar12.length" scalarRef="scalar15"/>
        </Bar>
      </Elements>
      <Couplings>
        <SwivelJoint fixed="false" id="swj9">
          <Point fixed="false" id="swj9.pt" posRef="pos4"/>
          <Line fixed="false" id="swj9.line">
            <Param fixed="false" id="swj9.line.dir" scalarRef="scalar7"/>
            <Param fixed="false" id="swj9.line.offs" scalarRef="scalar6"/>
          </Line>
        </SwivelJoint>
        <SwivelJoint fixed="true" id="swj10">
          <Point fixed="true" id="swj10.pt" posRef="pos11"/>
          <Line fixed="false" id="swj10.line">
            <Param fixed="false" id="swj10.line.dir" scalarRef="scalar19"/>
            <Param fixed="false" id="swj10.line.offs" scalarRef="scalar18"/>
          </Line>
        </SwivelJoint>
        <SlidingJoint fixed="false" id="slj3">
          <Point fixed="false" id="slj3.pt" posRef="pos3"/>
          <Line fixed="false" id="slj3.axis">
            <Param fixed="false" id="slj3.axis.dir" scalarRef="scalar5"/>
            <Param fixed="false" id="slj3.axis.offs" scalarRef="scalar4"/>
          </Line>
        </SlidingJoint>
        <SlidingJoint fixed="false" id="slj4">
          <Point fixed="false" id="slj4.pt" posRef="pos10"/>
          <Line fixed="false" id="slj4.axis">
            <Param fixed="false" id="slj4.axis.dir" scalarRef="scalar17"/>
            <Param fixed="false" id="slj4.axis.offs" scalarRef="scalar16"/>
          </Line>
        </SlidingJoint>
        <RigidJoint fixed="false" id="rgj1">
          <Point fixed="false" id="rgj1.pt" posRef="pos7"/>
          <Line fixed="false" id="rgj1.axis">
            <Param fixed="false" id="rgj1.axis.dir" scalarRef="scalar12"/>
            <Param fixed="false" id="rgj1.axis.offs" scalarRef="scalar11"/>
          </Line>
        </RigidJoint>
      </Couplings>
      <Connections>
        <PointConnection couplingPointRef="rgj1.pt" elementPointRef="sBar12.pt1" id="pointcon1"/>
        <PointConnection couplingPointRef="rgj1.pt" elementPointRef="sBar11.pt2" id="pointcon2"/>
        <PointConnection couplingPointRef="swj9.pt" elementPointRef="sBar11.pt1" id="pointcon3"/>
        <LineConnection couplingLineRef="slj3.axis" elementLineRef="sBar10.axis" id="linecon6"/>
        <LineConnection couplingLineRef="slj4.axis" elementLineRef="sBar12.axis" id="linecon7"/>
        <CouplingConnection coupling1Ref="swj10" coupling2Ref="slj4" id="couplingcon4" role="SlidingSwivelJoint"/>
        <CouplingConnection coupling1Ref="swj9" coupling2Ref="slj3" id="couplingcon5" role="SlidingSwivelJoint"/>
      </Connections>
    </ComponentSpace>
  </ComponentSpaces>

</Mechanism>
