@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/TightDoorMainDeckStbd.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.2' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.2.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_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'TightDoorMainDeckStbd.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Brazilian Naval Academy Training Ship' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Claudio Coreixas' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2009' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.en.mar.mil.br' ;
  x3do:name 'reference' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'ships' ;
  x3do:name 'subject' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/TightDoorMainDeckStbd.x3d' ;
  x3do:name 'identifier' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "TightDoorMainDeckStbd.x3d" .
:meta dcterms:description "Brazilian Naval Academy Training Ship" .
:meta dcterms:creator "Claudio Coreixas" .
:meta dcterms:created "20 October 2009" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:reference "http://www.en.mar.mil.br" .
:meta dcterms:subject "ships" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/TightDoorMainDeckStbd.x3d" .
:meta dcterms:generator "X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Viewpoint_2_2, :spinTimer, :openDoor, :dogTimer, :openDog, :openDoorTransform ;
  x3do:hasROUTE :ROUTE_2_5, :ROUTE_2_8 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'TightDoorMainDeckStbd.x3d' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Door' ;
  x3do:fieldOfView 0.45 ;
  x3do:orientation ( 1 0 0 0 ) ;
  x3do:position ( 0 0 1 ) .
:spinTimer a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'spinTimer' ;
  x3do:cycleInterval '3' .
:openDoor a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'openDoor' ;
  x3do:key ( 0 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 1.57 0 1 0 2.8 ) .
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'spinTimer' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'openDoor' .
:dogTimer a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'dogTimer' .
:openDog a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'openDog' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 0 1 0 0 0 1 1.3 ) .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'dogTimer' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'openDog' .
:openDoorTransform a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasROUTE :ROUTE_2_9_1 ;
  x3do:hasChildren :openDogSpin, :openDogSpin2, :Transform_2_9_4 ;
  x3do:DEF 'openDoorTransform' ;
  x3do:center ( -0.13 0.01 0 ) .
:ROUTE_2_9_1 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :openDoorTransform ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'openDoor' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'openDoorTransform' .
:openDogSpin a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :openDoorTransform ;
  x3do:hasROUTE :ROUTE_2_9_2_1 ;
  x3do:hasChildren :Transform_2_9_2_2 ;
  x3do:DEF 'openDogSpin' ;
  x3do:center ( 0.1 0.13 -0.005 ) .
:ROUTE_2_9_2_1 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :openDogSpin ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'openDog' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'openDogSpin' .
:Transform_2_9_2_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :openDogSpin ;
  x3do:hasChildren :dog, :dogSensor ;
  x3do:hasROUTE :ROUTE_2_9_2_2_3, :ROUTE_2_9_2_2_4 ;
  x3do:translation ( 0.1 0.13 -0.005 ) .
:dog a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_9_2_2 ;
  x3do:hasAppearance :Appearance_2_9_2_2_1_1 ;
  x3do:hasGeometry :Extrusion_2_9_2_2_1_2 ;
  x3do:DEF 'dog' .
:Appearance_2_9_2_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :dog ;
  x3do:hasMaterial :Material_2_9_2_2_1_1_1 .
:Material_2_9_2_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_9_2_2_1_1 ;
  x3do:diffuseColor ( 0.4 0.4 0.4 ) .
:Extrusion_2_9_2_2_1_2 a owl:NamedIndividual, x3do:Extrusion ;
  x3do:hasParent :dog ;
  x3do:ccw false ;
  x3do:convex false ;
  x3do:crossSection ( 0.01 0 0.0092 0.0038 0.0071 0.0071 0.0038 0.0092 0 0.01 -0.0038 0.0092 -0.0071 0.0071 -0.0092 0.0038 -0.01 0 -0.0092 -0.0038 -0.0071 -0.0071 -0.0038 -0.0092 0 -0.01 0.0038 -0.0092 0.0071 -0.0071 0.0092 -0.0039 0.01 0 ) ;
  x3do:scale ( 0.3 0.5 0.4 0.7 0.55 0.8 0.7 0.85 0.85 0.95 1 1 1 1 0.85 0.95 0.7 0.85 0.55 0.8 0.4 0.7 0.3 0.5 ) ;
  x3do:solid false ;
  x3do:spine ( -0.069 0 0.017 -0.01 0 0.017 -0.0062 0 0.0162 -0.0029 0 0.0141 -0.0008 0 0.0109 0 0 0.007 0 0 -0.007 -0.0008 0 -0.0108 -0.0029 0 -0.0141 -0.0062 0 -0.0162 -0.01 0 -0.017 -0.069 0 -0.017 ) .
:dogSensor a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_9_2_2 ;
  x3do:DEF 'dogSensor' ;
  x3do:description 'Touch to Open Hatch' .
:ROUTE_2_9_2_2_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_9_2_2 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'dogSensor' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'spinTimer' .
:ROUTE_2_9_2_2_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_9_2_2 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'dogSensor' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'dogTimer' .
:openDogSpin2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :openDoorTransform ;
  x3do:hasROUTE :ROUTE_2_9_3_1 ;
  x3do:hasChildren :Transform_2_9_3_2 ;
  x3do:DEF 'openDogSpin2' ;
  x3do:center ( 0.1 -0.13 -0.005 ) .
:ROUTE_2_9_3_1 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :openDogSpin2 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'openDog' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'openDogSpin2' .
:Transform_2_9_3_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :openDogSpin2 ;
  x3do:hasChildren :dog-USE-1, :dogSensor2 ;
  x3do:hasROUTE :ROUTE_2_9_3_2_3, :ROUTE_2_9_3_2_4 ;
  x3do:translation ( 0.1 -0.13 -0.005 ) .
:dog-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_9_3_2 ;
  owl:sameAs :dog . # DEF matching this USE
:dogSensor2 a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_9_3_2 ;
  x3do:DEF 'dogSensor2' ;
  x3do:description 'Touch to Open Hatch' .
:ROUTE_2_9_3_2_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_9_3_2 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'dogSensor2' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'spinTimer' .
:ROUTE_2_9_3_2_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_9_3_2 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'dogSensor2' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'dogTimer' .
:Transform_2_9_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :openDoorTransform ;
  x3do:hasChildren :Transform_2_9_4_1 ;
  x3do:rotation ( 0 1 0 3.14 ) .
:Transform_2_9_4_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_9_4 ;
  x3do:hasChildren :TightDoor ;
  x3do:rotation ( 1 0 0 1.57 ) .
:TightDoor a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_9_4_1 ;
  x3do:hasAppearance :Appearance_2_9_4_1_1_1 ;
  x3do:hasGeometry :pipeIFS ;
  x3do:DEF 'TightDoor' .
:Appearance_2_9_4_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :TightDoor ;
  x3do:hasMaterial :Material_2_9_4_1_1_1_1 .
:Material_2_9_4_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_9_4_1_1_1 ;
  x3do:diffuseColor ( 0.82 0.78 0.74 ) .
:pipeIFS a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :TightDoor ;
  x3do:hasCoord :Coordinate_2_9_4_1_1_2_1 ;
  x3do:DEF 'pipeIFS' ;
  x3do:convex false ;
  x3do:coordIndex ( 1 2 22 21 -1 2 3 23 22 -1 3 4 24 23 -1 4 5 25 24 -1 5 6 26 25 -1 6 7 27 26 -1 7 8 28 27 -1 8 9 29 28 -1 9 10 30 29 -1 10 11 31 30 -1 11 12 32 31 -1 12 13 33 32 -1 13 14 34 33 -1 14 15 35 34 -1 15 16 36 35 -1 16 17 37 36 -1 17 18 38 37 -1 18 19 39 38 -1 19 20 40 39 -1 20 1 21 40 -1 21 22 42 41 -1 22 23 43 42 -1 23 24 44 43 -1 24 25 45 44 -1 25 26 46 45 -1 26 27 47 46 -1 27 28 48 47 -1 28 29 49 48 -1 29 30 50 49 -1 30 31 51 50 -1 31 32 52 51 -1 32 33 53 52 -1 33 34 54 53 -1 34 35 55 54 -1 35 36 56 55 -1 36 37 57 56 -1 37 38 58 57 -1 38 39 59 58 -1 39 40 60 59 -1 40 21 41 60 -1 41 42 62 61 -1 42 43 63 62 -1 43 44 64 63 -1 44 45 65 64 -1 45 46 66 65 -1 46 47 67 66 -1 47 48 68 67 -1 48 49 69 68 -1 49 50 70 69 -1 50 51 71 70 -1 51 52 72 71 -1 52 53 73 72 -1 53 54 74 73 -1 54 55 75 74 -1 55 56 76 75 -1 56 57 77 76 -1 57 58 78 77 -1 58 59 79 78 -1 59 60 80 79 -1 60 41 61 80 -1 61 62 81 -1 62 63 81 -1 63 64 81 -1 64 65 81 -1 65 66 82 81 -1 66 67 82 -1 67 68 82 -1 68 69 82 -1 69 70 82 -1 70 71 83 82 -1 71 72 83 -1 72 73 83 -1 73 74 83 -1 74 75 83 -1 75 76 84 83 -1 76 77 84 -1 77 78 84 -1 78 79 84 -1 79 80 84 -1 80 61 81 84 -1 81 82 83 84 -1 ) ;
  x3do:creaseAngle 1.5 ;
  x3do:solid false .
:Coordinate_2_9_4_1_1_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :pipeIFS ;
  x3do:point ( 0.0000 0.0000 0.0000 0.1250 0.0000 0.2325 0.1246 0.0000 0.2344 0.1235 0.0000 0.2360 0.1219 0.0000 0.2371 0.1200 0.0000 0.2375 -0.1200 0.0000 0.2375 -0.1219 0.0000 0.2371 -0.1235 0.0000 0.2360 -0.1246 0.0000 0.2344 -0.1250 0.0000 0.2325 -0.1250 0.0000 -0.2325 -0.1246 0.0000 -0.2344 -0.1235 0.0000 -0.2360 -0.1219 0.0000 -0.2371 -0.1200 0.0000 -0.2375 0.1200 0.0000 -0.2375 0.1219 0.0000 -0.2371 0.1235 0.0000 -0.2360 0.1246 0.0000 -0.2344 0.1250 0.0000 -0.2325 0.1246 0.0038 0.2325 0.1243 0.0038 0.2343 0.1233 0.0038 0.2358 0.1218 0.0038 0.2368 0.1200 0.0038 0.2371 -0.1200 0.0038 0.2371 -0.1218 0.0038 0.2368 -0.1233 0.0038 0.2358 -0.1243 0.0038 0.2343 -0.1246 0.0038 0.2325 -0.1246 0.0038 -0.2325 -0.1243 0.0038 -0.2343 -0.1233 0.0038 -0.2358 -0.1218 0.0038 -0.2368 -0.1200 0.0038 -0.2371 0.1200 0.0038 -0.2371 0.1218 0.0038 -0.2368 0.1233 0.0038 -0.2358 0.1243 0.0038 -0.2343 0.1246 0.0038 -0.2325 0.1235 0.0071 0.2325 0.1233 0.0071 0.2339 0.1225 0.0071 0.2350 0.1214 0.0071 0.2358 0.1200 0.0071 0.2360 -0.1200 0.0071 0.2360 -0.1214 0.0071 0.2358 -0.1225 0.0071 0.2350 -0.1233 0.0071 0.2339 -0.1235 0.0071 0.2325 -0.1235 0.0071 -0.2325 -0.1233 0.0071 -0.2338 -0.1225 0.0071 -0.2350 -0.1214 0.0071 -0.2358 -0.1200 0.0071 -0.2360 0.1200 0.0071 -0.2360 0.1213 0.0071 -0.2358 0.1225 0.0071 -0.2350 0.1233 0.0071 -0.2339 0.1235 0.0071 -0.2325 0.1219 0.0092 0.2325 0.1218 0.0092 0.2332 0.1214 0.0092 0.2339 0.1207 0.0092 0.2343 0.1200 0.0092 0.2344 -0.1200 0.0092 0.2344 -0.1207 0.0092 0.2343 -0.1214 0.0092 0.2339 -0.1218 0.0092 0.2332 -0.1219 0.0092 0.2325 -0.1219 0.0092 -0.2325 -0.1218 0.0092 -0.2332 -0.1214 0.0092 -0.2339 -0.1207 0.0092 -0.2343 -0.1200 0.0092 -0.2344 0.1200 0.0092 -0.2344 0.1207 0.0092 -0.2343 0.1214 0.0092 -0.2339 0.1218 0.0092 -0.2332 0.1219 0.0092 -0.2325 0.1200 0.0100 0.2325 -0.1200 0.0100 0.2325 0.1200 0.0100 -0.2325 0.1200 0.0100 -0.2325 ) .
