X3D Model Documentation: RotorHead.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <meta name='titlecontent=' RotorHead.x3d '/>
  6            <meta name='creatorcontent='Michael Collins, modified by Boon Chuan LEE'/>
  7            <meta name='createdcontent='10 March 2001'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Helo main rotorhead. Contains four main rotor blades, a central capping structure, central rotor mast and four pitch-control rods.'/>
 10            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ac/sh-60.htm '/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/RotorHead.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, Head, MainRotorBlades, MainRotorSystem, Rods, RotorPath
-->
 15       <Scene>
 16            <WorldInfo title='RotorHead.x3d'/>
 17            <Background groundAngle='1.309 1.570796groundColor='0 .2 1 0 .5 1 0.8 0.9 0.9skyAngle='1.309 1.571skyColor='.5 .5 .9 0 .5 1 1 0.8 0.8'/>
 18 
          <!-- ROUTE information for MainRotorSystem node:  [from RotorPath.value_changed to set_rotation ] -->
          <Transform DEF='MainRotorSystem'>
 19                 <Transform DEF='MainRotorBladesrotation='1 0 0 1.6translation='-18 0 -1'>
 20 
                    <!-- Shape Blade is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                    <Shape DEF='Blade'>
 21                           <Appearance>
 22                                <Material/>
 23                           </Appearance>
 24                           <IndexedFaceSet creaseAngle='3.14coordIndex='0 1 2 3 4 5 6 7 8 9 0 -1 0 9 10 0 -1 9 8 11 10 9 -1 0 10 11 1 0 -1 11 8 7 6 5 4 3 12 11 -1 1 11 12 3 2 1 -1'>
 25                                <Coordinate point='0 .5 0 1.5 0 0 15.5 .5 0 16 .75 0 17 .75 0 17 1.25 0 14 1.25 0 13 1.75 0 1.5 1.5 0 0 2 0 .5 1.0 -.2 1.5 .5 -.2 14 .8 -.2'/>
 26                           </IndexedFaceSet>
 27                      </Shape>
 28                      <Transform rotation='0 0 1 -1.57translation='17 18 0'>
 29                           <Shape USE='Blade'/>
 30                           <Transform rotation='0 0 1 -1.57translation='16 18 0'>
 31                                <Shape USE='Blade'/>
 32                                <Transform rotation='0 0 1 -1.57translation='16 18 0'>
 33                                     <Shape USE='Blade'/>
 34                                </Transform>
 35                           </Transform>
 36                      </Transform>
 37                 </Transform>
 38                 <Transform DEF='Rodstranslation='0 -.8 0'>
 39                      <Shape>
 40                           <Cylinder radius='.35'/>
 41                           <Appearance>
 42                                <Material/>
 43                           </Appearance>
 44                      </Shape>
 45                      <Transform translation='0 -1 0'>
 46                           <Shape>
 47                                <Cylinder height='.2radius='1.5'/>
 48                                <Appearance>
 49                                     <Material/>
 50                                </Appearance>
 51                           </Shape>
 52                      </Transform>
 53                      <Transform translation='1.1 0 0'>
 54                           <Shape>
 55                                <Cylinder radius='.1'/>
 56                                <Appearance>
 57                                     <Material/>
 58                                </Appearance>
 59                           </Shape>
 60                      </Transform>
 61                      <Transform translation='-1.1 0 0'>
 62                           <Shape>
 63                                <Cylinder radius='.1'/>
 64                                <Appearance>
 65                                     <Material/>
 66                                </Appearance>
 67                           </Shape>
 68                      </Transform>
 69                      <Transform translation='0 0 1.1'>
 70                           <Shape>
 71                                <Cylinder radius='.1'/>
 72                                <Appearance>
 73                                     <Material/>
 74                                </Appearance>
 75                           </Shape>
 76                      </Transform>
 77                      <Transform translation='0 0 -1.1'>
 78                           <Shape>
 79                                <Cylinder radius='.1'/>
 80                                <Appearance>
 81                                     <Material/>
 82                                </Appearance>
 83                           </Shape>
 84                      </Transform>
 85                 </Transform>
 86                 <Transform DEF='Headscale='0.8 0.8 0.8translation='-1.6 0.3 -1.6'>
 87                      <Shape>
 88                           <Appearance>
 89                                <Material diffuseColor='.2 .2 .2'/>
 90                           </Appearance>
 91                           <IndexedFaceSet creaseAngle='3.14coordIndex='14 23 16 15 -1 23 18 17 16 -1 22 24 23 14 13 -1 20 19 18 23 24 -1 24 21 4 3 20 -1 24 22 9 8 21 -1 12 11 10 9 22 13 -1 8 7 6 5 4 21 -1 19 20 3 2 1 0 -1 0 1 2 27 26 25 -1 2 3 28 27 -1 3 4 29 28 -1 4 5 30 29 -1 5 6 7 32 31 30 -1 7 8 33 32 -1 8 9 34 33 -1 9 10 35 34 -1 10 11 12 37 36 35 -1 12 13 38 37 -1 13 14 39 38 -1 14 15 40 39 -1 15 16 17 42 41 40 -1 17 18 43 42 -1 18 19 44 43 -1 19 0 25 44 -1 45 44 25 26 -1 45 26 27 28 -1 49 48 43 44 45 -1 49 45 28 29 46 -1 49 46 33 34 47 -1 49 47 38 39 48 -1 29 30 31 46 -1 46 31 32 33 -1 47 34 35 36 -1 47 36 37 38 -1 48 39 40 41 -1 48 41 42 43 -1'>
 92                                <Coordinate point='1.7 0 0 2.0 0 0 2.3 0 0 2.5 0 1 3 0 1.5 4 0 1.7 4 0 2.0 4 0 2.3 3 0 2.5 2.5 0 3 2.3 0 4.0 2.0 0 4.0 1.7 0 4.0 1.5 0 3 1 0 2.5 0 0 2.3 0 0 2.0 0 0 1.7 1 0 1.5 1.5 0 1 2 .2 1 3 .2 2 2 .2 3 1 .2 2 2 .5 2 1.7 -.5 0 2.0 -.5 0 2.3 -.5 0 2.5 -.5 1 3 -.5 1.5 4 -.5 1.7 4 -.5 2.0 4 -.5 2.3 3 -.5 2.5 2.5 -.5 3 2.3 -.5 4.0 2.0 -.5 4.0 1.7 -.5 4.0 1.5 -.5 3 1 -.5 2.5 0 -.5 2.3 0 -.5 2.0 0 -.5 1.7 1 -.5 1.5 1.5 -.5 1 2 -.7 1 3 -.7 2 2 -.7 3 1 -.7 2 2 -.9 2'/>
 93                           </IndexedFaceSet>
 94                      </Shape>
 95                 </Transform>
 96 
               <!-- ROUTE information for Clock node:  [from fraction_changed to RotorPath.set_fraction ] -->
               <TimeSensor DEF='ClockcycleInterval='1.5loop='true'/>
 97 
               <!-- ROUTE information for RotorPath node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to MainRotorSystem.set_rotation ] -->
               <OrientationInterpolator DEF='RotorPathkey='0.0 0.25 0.50 0.75 1.0keyValue='0.0 1.0 0.0 6.28 0.0 1.0 0.0 4.17 0.0 1.0 0.0 3.14 0.0 1.0 0.0 1.57 0.0 1.0 0.0 0.00'/>
 98            </Transform>
 99            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='RotorPath' toField='set_fraction'/>
100            < ROUTE  fromNode='RotorPath' fromField='value_changed' toNode='MainRotorSystem' toField='set_rotation'/>
101       </Scene>
102  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, Head, MainRotorBlades, MainRotorSystem, Rods, RotorPath
-->
X3D Tooltips element index: Appearance, Background, Coordinate, Cylinder, head, IndexedFaceSet, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
RotorPath
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
RotorPath
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
MainRotorSystem
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/RotorHeadIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/RotorHead.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->