<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D version='3.0' profile='Immersive' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='PumpHouse.x3d' name='title'/>
    <meta content='Positive-displacement cylinder pump to emulate breakers surge, designed and built by David Packard.' name='description'/>
    <meta content='Todd Gagnon and Mark A. Boyd' name='authors'/>
    <meta content='Xeena VRML importer' name='translator'/>
    <meta content='8 June 1998' name='created'/>
    <meta content='20 December 2002' name='imported'/>
    <meta content='21 December 2002' name='modified'/>
    <meta content='KelpTank.x3d' name='reference'/>
    <meta content='http://www.web3d.org/x3d/content/examples/Basic/KelpForestExhibit/PumpHouse.x3d' name='identifier'/>
    <meta content='X3D-Edit, http://www.web3d.org/x3d/content/README.X3D-Edit.html' name='generator'/>
    <meta content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' name='generator'/>
    <meta name='license' content='../../license.html'/>
  </head>
  <Scene>
    <WorldInfo info='DTG of last update:  081200Jun98 Added:  Updated: cycleInterval to 5.5 Modeled by:  Todd Gagnon and Mark A. Boyd' title='pumpHouse1.4.wrl'/>
    <Group>
      <Shape>
        <Appearance DEF='pumpHouse'>
          <Material diffuseColor='0.82 0.78 0.74'/>
        </Appearance>
        <IndexedFaceSet coordIndex='0 1 5 4 -1 5&#10;1 2 6 -1 6 2&#10;3 7 -1 3 0 4&#10;7 -1 1 12 13 2&#10;-1 2 13 14 -1 12&#10;15 16 13 -1 15 0&#10;3 16 -1 16 3 17&#10;-1 9 5 6 10 -1&#10;8 9 10 11 -1 4&#10;8 11 7 -1 4 5&#10;9 8 -1 11 10 6&#10;7 -1 3 2 14 17&#10;-1 13 16 17 14 -1'>
          <Coordinate point='0.0 0.0 0.0&#10;2.0 0.0 0.0&#10;2.0 1.75 0.0&#10;0.0 1.75 0.0&#10;0.625 0.75 0.0&#10;1.0 0.75 0.0&#10;1.0 1.6 0.0&#10;0.625 1.6 0.0&#10;0.625 0.75 -0.65&#10;1.0 0.75 -0.65&#10;1.0 1.6 -0.65&#10;0.625 1.6 -0.65&#10;2.0 0.0 -2.7&#10;2.0 1.75 -2.7&#10;2.0 2.5 -1.0&#10;0.0 0.0 -2.7&#10;0.0 1.75 -2.7&#10;0.0 2.5 -1.0'/>
        </IndexedFaceSet>
      </Shape>
      <Transform scale='0.91 0.6 0.3' translation='0.8 -0.65 0.5'>
        <Shape>
          <Appearance>
            <Material diffuseColor='0.749 0.694 0.651'/>
          </Appearance>
          <Cylinder bottom='false' top='false'/>
        </Shape>
      </Transform>
    </Group>
    <Group>
      <Transform scale='0.5 0.5 0.5' translation='1.0 1.1 -1.5'>
        <Transform DEF='PISTON'>
          <Transform scale='1.8 1.2 0.6' translation='0.0 -0.2 0.0'>
            <Shape>
              <Appearance>
                <Material diffuseColor='0.427 0.427 0.42'/>
              </Appearance>
              <Cylinder height='1.0' radius='0.98'/>
            </Shape>
          </Transform>
          <Transform DEF='CylinderRod' rotation='0.0 0.0 -1.0 0.523599' translation='-0.25 0.75 0.0'>
            <Shape>
              <Appearance USE='pumpHouse'/>
              <Cylinder height='1.0' radius='0.1'/>
            </Shape>
          </Transform>
          <Transform rotation='0.0 0.0 1.0 1.047198' translation='1.0 0.6 0.0'>
            <Transform USE='CylinderRod'/>
          </Transform>
          <Transform translation='0.0 1.2 0.0'>
            <Shape>
              <Appearance USE='pumpHouse'/>
              <Sphere radius='0.15'/>
            </Shape>
          </Transform>
          <Transform DEF='ROCKERARM1' center='0.0 -0.4 0.0'>
            <Shape>
              <Appearance USE='pumpHouse'/>
              <Cylinder height='1.8' radius='0.1'/>
            </Shape>
            <Transform translation='0.0 0.95 0.0'>
              <Shape>
                <Appearance USE='pumpHouse'/>
                <Sphere radius='0.15'/>
              </Shape>
            </Transform>
            <PositionInterpolator DEF='ROCKER1Path' key='0.0 0.3 0.32 0.5 0.75 1.0' keyValue='0.0 2.0 -0.25&#10;0.0 1.8 -0.35&#10;0.0 1.8 -0.35&#10;0.0 2.0 -0.25&#10;0.0 2.0 -0.12&#10;0.0 2.0 -0.25'/>
            <OrientationInterpolator DEF='ROCKER1Rotation' key='0.0 0.3 0.32 0.5 0.75 1.0' keyValue='-1.0 0.0 0.0 0.523599&#10;-1.0 0.0 0.0 1.0471976&#10;-1.0 0.0 0.0 1.0471976&#10;-1.0 0.0 0.0 0.523599&#10;-1.0 0.0 0.0 0.2617994&#10;-1.0 0.0 0.0 0.523599'/>
          </Transform>
          <Transform DEF='ROCKERARM2' center='0.0 0.7 0.0'>
            <Shape>
              <Appearance USE='pumpHouse'/>
              <Cylinder height='1.8' radius='0.1'/>
            </Shape>
            <Transform translation='0.0 -0.95 0.0'>
              <Shape>
                <Appearance USE='pumpHouse'/>
                <Sphere radius='0.15'/>
              </Shape>
            </Transform>
            <PositionInterpolator DEF='ROCKER2Path' key='0.0 0.3 0.32 0.5 0.75 1.0' keyValue='0.0 1.95 -1.0&#10;0.0 1.2 -1.6&#10;0.0 1.2 -1.6&#10;0.0 1.95 -1.0&#10;0.0 2.2 -0.65&#10;0.0 1.95 -1.0'/>
            <OrientationInterpolator DEF='ROCKER2Rotation' key='0.0 0.3 0.32 0.5 0.75 1.0' keyValue='1.0 0.0 0.0 0.523599&#10;1.0 0.0 0.0 0.4&#10;1.0 0.0 0.0 0.4&#10;1.0 0.0 0.0 0.523599&#10;1.0 0.0 0.0 1.570796&#10;1.0 0.0 0.0 0.523599'/>
          </Transform>
        </Transform>
        <TimeSensor DEF='PISTONClock' cycleInterval='5.5' loop='true'/>
        <PositionInterpolator DEF='PISTONPath' key='0.0 0.3 0.32 0.5 0.75 1.0' keyValue='-0.4 -2.3 4.0&#10;-0.4 -1.5 4.0&#10;-0.4 -1.5 4.0&#10;-0.4 -2.3 4.0&#10;-0.4 -3.3 4.0&#10;-0.4 -2.3 4.0'/>
      </Transform>
    </Group>
    <ROUTE fromField='fraction_changed' fromNode='PISTONClock' toField='set_fraction' toNode='PISTONPath'/>
    <ROUTE fromField='value_changed' fromNode='PISTONPath' toField='set_translation' toNode='PISTON'/>
    <ROUTE fromField='fraction_changed' fromNode='PISTONClock' toField='set_fraction' toNode='ROCKER1Path'/>
    <ROUTE fromField='value_changed' fromNode='ROCKER1Path' toField='set_translation' toNode='ROCKERARM1'/>
    <ROUTE fromField='fraction_changed' fromNode='PISTONClock' toField='set_fraction' toNode='ROCKER1Rotation'/>
    <ROUTE fromField='value_changed' fromNode='ROCKER1Rotation' toField='set_rotation' toNode='ROCKERARM1'/>
    <ROUTE fromField='fraction_changed' fromNode='PISTONClock' toField='set_fraction' toNode='ROCKER2Path'/>
    <ROUTE fromField='value_changed' fromNode='ROCKER2Path' toField='set_translation' toNode='ROCKERARM2'/>
    <ROUTE fromField='fraction_changed' fromNode='PISTONClock' toField='set_fraction' toNode='ROCKER2Rotation'/>
    <ROUTE fromField='value_changed' fromNode='ROCKER2Rotation' toField='set_rotation' toNode='ROCKERARM2'/>
  </Scene>
</X3D>
