@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter09EventUtilitiesScripting/ScriptEventsPumpHouse.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.3' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.3.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'ScriptEventsPumpHouse.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'A Script node provides the path and orientation animation for three cones that orbit near the pump house.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Todd Gagnon and Mark A. Boyd' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html' ;
  x3do:name 'translator' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '8 June 1998' ;
  x3do:name 'created' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 December 2002' ;
  x3do:name 'translated' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'KelpTank.x3d' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/PumpHouse.x3d' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter09EventUtilitiesScripting/ScriptEventsPumpHouse.x3d' ;
  x3do:name 'identifier' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' ;
  x3do:name 'generator' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "ScriptEventsPumpHouse.x3d" .
:meta dcterms:description "A Script node provides the path and orientation animation for three cones that orbit near the pump house." .
:meta dcterms:creator "Todd Gagnon and Mark A. Boyd" .
:meta dcterms:translator "Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html" .
:meta dcterms:created "8 June 1998" .
:meta dcterms:translated "20 December 2002" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:reference "KelpTank.x3d" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/PumpHouse.x3d" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter09EventUtilitiesScripting/ScriptEventsPumpHouse.x3d" .
:meta dcterms:generator "X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:generator "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html" .
:meta dcterms:license "../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Background_2_2, :Viewpoint_2_3, :Group_2_4, :Group_2_5 ;
  x3do:hasROUTE :ROUTE_2_6, :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_11, :ROUTE_2_12, :ROUTE_2_13, :ROUTE_2_14, :ROUTE_2_15, :ROUTE_2_16, :ROUTE_2_17, :ROUTE_2_18, :ROUTE_2_19, :ROUTE_2_20, :ROUTE_2_21, :ROUTE_2_22, :ROUTE_2_23, :ROUTE_2_24, :ROUTE_2_25, :ROUTE_2_26 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:info '"DTG of last update: 081200Jun98 Added: Updated: cycleInterval to 5.5 Modeled by: Todd Gagnon and Mark A. Boyd"' ;
  x3do:title 'pumpHouse1.4.wrl' .
:Background_2_2 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:skyColor ( 1 1 1 ) .
:Viewpoint_2_3 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Book View' ;
  x3do:orientation ( -0.969 0.239 0.056 0.13 ) ;
  x3do:position ( 1.66 1.34 5.95 ) .
:Group_2_4 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Transform_2_4_1, :Group_2_4_2 .
:Transform_2_4_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :Shape_2_4_1_1 ;
  x3do:scale ( 0.91 0.6 0.3 ) ;
  x3do:translation ( 0.8 -0.65 0.5 ) .
:Shape_2_4_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_1 ;
  x3do:hasAppearance :Appearance_2_4_1_1_1 ;
  x3do:hasGeometry :Cylinder_2_4_1_1_2 .
:Appearance_2_4_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:hasMaterial :Material_2_4_1_1_1_1 .
:Material_2_4_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_1_1 ;
  x3do:diffuseColor ( 0.749 0.694 0.651 ) .
:Cylinder_2_4_1_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:bottom false ;
  x3do:top false .
:Group_2_4_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :Shape_2_4_2_1, :PumpTouched .
:Shape_2_4_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Group_2_4_2 ;
  x3do:hasAppearance :PumpHouseAppearance ;
  x3do:hasGeometry :IndexedFaceSet_2_4_2_1_2 .
:PumpHouseAppearance a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_2_1 ;
  x3do:hasMaterial :Material_2_4_2_1_1_1 ;
  x3do:DEF 'PumpHouseAppearance' .
:Material_2_4_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :PumpHouseAppearance ;
  x3do:diffuseColor ( 0.82 0.78 0.74 ) .
:IndexedFaceSet_2_4_2_1_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_4_2_1 ;
  x3do:hasCoord :Coordinate_2_4_2_1_2_1 ;
  x3do:coordIndex ( 0 1 5 4 -1 5 1 2 6 -1 6 2 3 7 -1 3 0 4 7 -1 1 12 13 2 -1 2 13 14 -1 12 15 16 13 -1 15 0 3 16 -1 16 3 17 -1 9 5 6 10 -1 8 9 10 11 -1 4 8 11 7 -1 4 5 9 8 -1 11 10 6 7 -1 3 2 14 17 -1 13 16 17 14 -1 ) .
:Coordinate_2_4_2_1_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_4_2_1_2 ;
  x3do:point ( 0.0 0.0 0.0 2.0 0.0 0.0 2.0 1.75 0.0 0.0 1.75 0.0 0.625 0.75 0.0 1.0 0.75 0.0 1.0 1.6 0.0 0.625 1.6 0.0 0.625 0.75 -0.65 1.0 0.75 -0.65 1.0 1.6 -0.65 0.625 1.6 -0.65 2.0 0.0 -2.7 2.0 1.75 -2.7 2.0 2.5 -1.0 0.0 0.0 -2.7 0.0 1.75 -2.7 0.0 2.5 -1.0 ) .
:PumpTouched a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Group_2_4_2 ;
  x3do:DEF 'PumpTouched' ;
  x3do:description 'touch to activate' .
:Group_2_5 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Transform_2_5_1 .
:Transform_2_5_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_5 ;
  x3do:hasChildren :PistonTransform, :PistonClock, :PistonPath, :Timer, :Angle, :Filter, :Transform_2_5_1_7, :Control ;
  x3do:scale ( 0.5 0.5 0.5 ) ;
  x3do:translation ( 1.0 1.1 -1.5 ) .
:PistonTransform a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:hasChildren :Transform_2_5_1_1_1, :CylinderRod, :Transform_2_5_1_1_3, :Transform_2_5_1_1_4, :RockerArm1, :RockerArm2 ;
  x3do:DEF 'PistonTransform' .
:Transform_2_5_1_1_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :Shape_2_5_1_1_1_1 ;
  x3do:scale ( 1.8 1.2 0.6 ) ;
  x3do:translation ( 0.0 -0.2 0.0 ) .
:Shape_2_5_1_1_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_1_1_1 ;
  x3do:hasAppearance :Appearance_2_5_1_1_1_1_1 ;
  x3do:hasGeometry :Cylinder_2_5_1_1_1_1_2 .
:Appearance_2_5_1_1_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_1_1 ;
  x3do:hasMaterial :Material_2_5_1_1_1_1_1_1 .
:Material_2_5_1_1_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_1_1_1_1 ;
  x3do:diffuseColor ( 0.427 0.427 0.42 ) .
:Cylinder_2_5_1_1_1_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_5_1_1_1_1 ;
  x3do:height 1.0 ;
  x3do:radius 0.98 .
:CylinderRod a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :Shape_2_5_1_1_2_1 ;
  x3do:DEF 'CylinderRod' ;
  x3do:rotation ( 0.0 0.0 -1.0 0.523599 ) ;
  x3do:translation ( -0.25 0.75 0.0 ) .
:Shape_2_5_1_1_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :CylinderRod ;
  x3do:hasAppearance :PumpHouseAppearance-USE-1 ;
  x3do:hasGeometry :Cylinder_2_5_1_1_2_1_2 .
:PumpHouseAppearance-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_2_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Cylinder_2_5_1_1_2_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_5_1_1_2_1 ;
  x3do:height 1.0 ;
  x3do:radius 0.1 .
:Transform_2_5_1_1_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :CylinderRod-USE-1 ;
  x3do:rotation ( 0.0 0.0 1.0 1.047198 ) ;
  x3do:translation ( 1.0 0.6 0.0 ) .
:CylinderRod-USE-1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5_1_1_3 ;
  owl:sameAs :CylinderRod . # DEF matching this USE
:Transform_2_5_1_1_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :Shape_2_5_1_1_4_1 ;
  x3do:translation ( 0.0 1.2 0.0 ) .
:Shape_2_5_1_1_4_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_1_1_4 ;
  x3do:hasAppearance :PumpHouseAppearance-USE-2 ;
  x3do:hasGeometry :Sphere_2_5_1_1_4_1_2 .
:PumpHouseAppearance-USE-2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_4_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Sphere_2_5_1_1_4_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_5_1_1_4_1 ;
  x3do:radius 0.15 .
:RockerArm1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :Shape_2_5_1_1_5_1, :Transform_2_5_1_1_5_2, :Rocker1Path, :Rocker1Rotation ;
  x3do:DEF 'RockerArm1' ;
  x3do:center ( 0.0 -0.4 0.0 ) .
:Shape_2_5_1_1_5_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :RockerArm1 ;
  x3do:hasAppearance :PumpHouseAppearance-USE-3 ;
  x3do:hasGeometry :Cylinder_2_5_1_1_5_1_2 .
:PumpHouseAppearance-USE-3 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_5_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Cylinder_2_5_1_1_5_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_5_1_1_5_1 ;
  x3do:height 1.8 ;
  x3do:radius 0.1 .
:Transform_2_5_1_1_5_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :RockerArm1 ;
  x3do:hasChildren :Shape_2_5_1_1_5_2_1 ;
  x3do:translation ( 0.0 0.95 0.0 ) .
:Shape_2_5_1_1_5_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_1_1_5_2 ;
  x3do:hasAppearance :PumpHouseAppearance-USE-4 ;
  x3do:hasGeometry :Sphere_2_5_1_1_5_2_1_2 .
:PumpHouseAppearance-USE-4 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_5_2_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Sphere_2_5_1_1_5_2_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_5_1_1_5_2_1 ;
  x3do:radius 0.15 .
:Rocker1Path a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :RockerArm1 ;
  x3do:DEF 'Rocker1Path' ;
  x3do:key ( 0.0 0.3 0.32 0.5 0.75 1.0 ) ;
  x3do:keyValue ( 0.0 2.0 -0.25 0.0 1.8 -0.35 0.0 1.8 -0.35 0.0 2.0 -0.25 0.0 2.0 -0.12 0.0 2.0 -0.25 ) .
:Rocker1Rotation a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :RockerArm1 ;
  x3do:DEF 'Rocker1Rotation' ;
  x3do:key ( 0.0 0.3 0.32 0.5 0.75 1.0 ) ;
  x3do:keyValue ( -1.0 0.0 0.0 0.523599 -1.0 0.0 0.0 1.0471976 -1.0 0.0 0.0 1.0471976 -1.0 0.0 0.0 0.523599 -1.0 0.0 0.0 0.2617994 -1.0 0.0 0.0 0.523599 ) .
:RockerArm2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PistonTransform ;
  x3do:hasChildren :Shape_2_5_1_1_6_1, :Transform_2_5_1_1_6_2, :Rocker2Path, :Rocker2Rotation ;
  x3do:DEF 'RockerArm2' ;
  x3do:center ( 0.0 0.7 0.0 ) .
:Shape_2_5_1_1_6_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :RockerArm2 ;
  x3do:hasAppearance :PumpHouseAppearance-USE-5 ;
  x3do:hasGeometry :Cylinder_2_5_1_1_6_1_2 .
:PumpHouseAppearance-USE-5 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_6_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Cylinder_2_5_1_1_6_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_5_1_1_6_1 ;
  x3do:height 1.8 ;
  x3do:radius 0.1 .
:Transform_2_5_1_1_6_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :RockerArm2 ;
  x3do:hasChildren :Shape_2_5_1_1_6_2_1 ;
  x3do:translation ( 0.0 -0.95 0.0 ) .
:Shape_2_5_1_1_6_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_1_1_6_2 ;
  x3do:hasAppearance :PumpHouseAppearance-USE-6 ;
  x3do:hasGeometry :Sphere_2_5_1_1_6_2_1_2 .
:PumpHouseAppearance-USE-6 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1_6_2_1 ;
  owl:sameAs :PumpHouseAppearance . # DEF matching this USE
:Sphere_2_5_1_1_6_2_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_5_1_1_6_2_1 ;
  x3do:radius 0.15 .
:Rocker2Path a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :RockerArm2 ;
  x3do:DEF 'Rocker2Path' ;
  x3do:key ( 0.0 0.3 0.32 0.5 0.75 1.0 ) ;
  x3do:keyValue ( 0.0 1.95 -1.0 0.0 1.2 -1.6 0.0 1.2 -1.6 0.0 1.95 -1.0 0.0 2.2 -0.65 0.0 1.95 -1.0 ) .
:Rocker2Rotation a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :RockerArm2 ;
  x3do:DEF 'Rocker2Rotation' ;
  x3do:key ( 0.0 0.3 0.32 0.5 0.75 1.0 ) ;
  x3do:keyValue ( 1.0 0.0 0.0 0.523599 1.0 0.0 0.0 0.4 1.0 0.0 0.0 0.4 1.0 0.0 0.0 0.523599 1.0 0.0 0.0 1.570796 1.0 0.0 0.0 0.523599 ) .
:PistonClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:DEF 'PistonClock' ;
  x3do:cycleInterval '5.5' ;
  x3do:loop true .
:PistonPath a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:DEF 'PistonPath' ;
  x3do:key ( 0.0 0.3 0.32 0.5 0.75 1.0 ) ;
  x3do:keyValue ( -0.4 -2.3 4.0 -0.4 -1.5 4.0 -0.4 -1.5 4.0 -0.4 -2.3 4.0 -0.4 -3.3 4.0 -0.4 -2.3 4.0 ) .
:Timer a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:DEF 'Timer' ;
  x3do:cycleInterval '2' ;
  x3do:enabled false ;
  x3do:loop true ;
  x3do:startTime '1' .
:Angle a owl:NamedIndividual, x3do:ScalarInterpolator ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:DEF 'Angle' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 6.28319 ) .
:Filter a owl:NamedIndividual, x3do:BooleanFilter ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:DEF 'Filter' .
:Transform_2_5_1_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:hasChildren :EyeCandy ;
  x3do:translation ( 3 2 4 ) .
:EyeCandy a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5_1_7 ;
  x3do:hasChildren :CandyRed, :CandyGreen, :CandyTurquoise ;
  x3do:DEF 'EyeCandy' .
:CandyRed a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :EyeCandy ;
  x3do:hasChildren :Shape_2_5_1_7_1_1_1 ;
  x3do:DEF 'CandyRed' ;
  x3do:rotation ( 0 0 1 3.14 ) ;
  x3do:translation ( 0 -1.5 .5 ) .
:Shape_2_5_1_7_1_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :CandyRed ;
  x3do:hasAppearance :Appearance_2_5_1_7_1_1_1_1 ;
  x3do:hasGeometry :b1 .
:Appearance_2_5_1_7_1_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_7_1_1_1 ;
  x3do:hasMaterial :Material_2_5_1_7_1_1_1_1_1 .
:Material_2_5_1_7_1_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_7_1_1_1_1 ;
  x3do:diffuseColor ( 1 0 0 ) .
:b1 a owl:NamedIndividual, x3do:Cone ;
  x3do:hasParent :Shape_2_5_1_7_1_1_1 ;
  x3do:DEF 'b1' ;
  x3do:bottomRadius .5 ;
  x3do:height 1 .
:CandyGreen a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :EyeCandy ;
  x3do:hasChildren :Shape_2_5_1_7_1_2_1 ;
  x3do:DEF 'CandyGreen' ;
  x3do:rotation ( 0 0 1 -1.05 ) ;
  x3do:translation ( 1.3 .75 0 ) .
:Shape_2_5_1_7_1_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :CandyGreen ;
  x3do:hasAppearance :Appearance_2_5_1_7_1_2_1_1 ;
  x3do:hasGeometry :b1-USE-1 .
:Appearance_2_5_1_7_1_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_7_1_2_1 ;
  x3do:hasMaterial :Material_2_5_1_7_1_2_1_1_1 .
:Material_2_5_1_7_1_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_7_1_2_1_1 ;
  x3do:diffuseColor ( 0 1 1 ) .
:b1-USE-1 a owl:NamedIndividual, x3do:Cone ;
  x3do:hasParent :Shape_2_5_1_7_1_2_1 ;
  owl:sameAs :b1 . # DEF matching this USE
:CandyTurquoise a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :EyeCandy ;
  x3do:hasChildren :Shape_2_5_1_7_1_3_1 ;
  x3do:DEF 'CandyTurquoise' ;
  x3do:rotation ( 0 0 1 1.05 ) ;
  x3do:translation ( -1.3 .75 -0.5 ) .
:Shape_2_5_1_7_1_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :CandyTurquoise ;
  x3do:hasAppearance :Appearance_2_5_1_7_1_3_1_1 ;
  x3do:hasGeometry :b1-USE-2 .
:Appearance_2_5_1_7_1_3_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_7_1_3_1 ;
  x3do:hasMaterial :Material_2_5_1_7_1_3_1_1_1 .
:Material_2_5_1_7_1_3_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_7_1_3_1_1 ;
  x3do:diffuseColor ( 1 1 0 ) .
:b1-USE-2 a owl:NamedIndividual, x3do:Cone ;
  x3do:hasParent :Shape_2_5_1_7_1_3_1 ;
  owl:sameAs :b1 . # DEF matching this USE
:Control a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:hasField :field_2_5_1_8_1, :field_2_5_1_8_2, :field_2_5_1_8_3, :field_2_5_1_8_4, :field_2_5_1_8_5, :field_2_5_1_8_6, :field_2_5_1_8_7 ;
  x3do:DEF 'Control' ;
  x3do:url '"ScriptEventsPumpHouse.js" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter09EventUtilitiesScripting/ScriptEventsPumpHouse.js"' .
:field_2_5_1_8_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'angle' ;
  x3do:type 'SFFloat' .
:field_2_5_1_8_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'positionRed' ;
  x3do:type 'SFVec3f' .
:field_2_5_1_8_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'positionGreen' ;
  x3do:type 'SFVec3f' .
:field_2_5_1_8_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'positionTurquoise' ;
  x3do:type 'SFVec3f' .
:field_2_5_1_8_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'orientationRed' ;
  x3do:type 'SFRotation' .
:field_2_5_1_8_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'orientationGreen' ;
  x3do:type 'SFRotation' .
:field_2_5_1_8_7 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Control ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'orientationTurquoise' ;
  x3do:type 'SFRotation' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'PumpTouched' ;
  x3do:toField 'set_boolean' ;
  x3do:toNode 'Filter' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'inputTrue' ;
  x3do:fromNode 'Filter' ;
  x3do:toField 'enabled' ;
  x3do:toNode 'Timer' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'Timer' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Angle' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Angle' ;
  x3do:toField 'angle' ;
  x3do:toNode 'Control' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'positionRed' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'translation' ;
  x3do:toNode 'CandyRed' .
:ROUTE_2_11 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'positionGreen' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'translation' ;
  x3do:toNode 'CandyGreen' .
:ROUTE_2_12 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'positionTurquoise' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'translation' ;
  x3do:toNode 'CandyTurquoise' .
:ROUTE_2_13 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientationRed' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'CandyRed' .
:ROUTE_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientationGreen' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'CandyGreen' .
:ROUTE_2_15 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientationTurquoise' ;
  x3do:fromNode 'Control' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'CandyTurquoise' .
:ROUTE_2_16 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'inputFalse' ;
  x3do:fromNode 'Filter' ;
  x3do:toField 'enabled' ;
  x3do:toNode 'PistonClock' .
:ROUTE_2_17 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'PistonClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'PistonPath' .
:ROUTE_2_18 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'PistonPath' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'PistonTransform' .
:ROUTE_2_19 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'PistonClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Rocker1Path' .
:ROUTE_2_20 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Rocker1Path' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'RockerArm1' .
:ROUTE_2_21 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'PistonClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Rocker1Rotation' .
:ROUTE_2_22 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Rocker1Rotation' ;
  x3do:toField 'set_rotation' ;
  x3do:toNode 'RockerArm1' .
:ROUTE_2_23 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'PistonClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Rocker2Path' .
:ROUTE_2_24 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Rocker2Path' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'RockerArm2' .
:ROUTE_2_25 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'PistonClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Rocker2Rotation' .
:ROUTE_2_26 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Rocker2Rotation' ;
  x3do:toField 'set_rotation' ;
  x3do:toNode 'RockerArm2' .
