X3D Model Documentation: CH53eSimple.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='Interchange' 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='CH53eSimple.x3d'/>
  6            <meta name='creatorcontent='Jeff Lark'/>
  7            <meta name='createdcontent='20 September 2000'/>
  8            <meta name='modifiedcontent='20 October 2019'/>
  9            <meta name='descriptioncontent='Simple helicopter model.'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftHelicopters/CH53UnitedStates/CH53eSimple.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Blade_Root, Blade1, Blade2, Blade3, Blade4, Blade5, Blade6, Blade7, BladeRoot, Bottom, Clock, Engine, Engine2, Engine3, Engines, Front, Fuselage_Pylons, Left_Side, Main_Tail_Pylon, Pylon, Rotor_System, RotorBlade, RotorHub, RotorMast, SpinRotor, SpinTail, Tail_Blade, Tail_Hub, TailRotor

Index for Viewpoint nodes: Bottom, Front, Left_Side
-->
 14       <Scene>
 15            <WorldInfo title='CH53eSimple.x3d'/>
 16            <Group>
 17                 <Transform rotation='1 0 0 -1.57translation='0 5 0'>
 18                      <Group>
 19 
                         <!-- ROUTE information for Rotor_System node:  [from SpinRotor.value_changed to set_rotation ] -->
                         <Transform DEF='Rotor_System'>
 20 
                              <!-- Transform RotorBlade is a DEF node that has 11 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11 -->
                              <Transform DEF='RotorBladescale='9 0.65 0.2translation='15 0.2 0'>
 21                                     <Shape DEF='Blade1'>
 22                                          <Box/>
 23                                          <Appearance>
 24                                               <Material diffuseColor='0.5 0.3 0.8'/>
 25                                          </Appearance>
 26                                     </Shape>
 27                                     <Transform DEF='Blade_Rootrotation='0 0 1 1.5702scale='0.7 0.4 0.4translation='-1. 0.2 0'>
 28                                          <Shape DEF='BladeRoot'>
 29                                               <Cylinder height='0.7'/>
 30                                               <Appearance>
 31                                                    <Material emissiveColor='0.5 0.5 0.5'/>
 32                                               </Appearance>
 33                                          </Shape>
 34                                     </Transform>
 35                                </Transform>
 36                                <Transform DEF='Blade2rotation='0 0 1 0.8'>
 37                                     <Transform USE='RotorBlade'/>
 38                                </Transform>
 39                                <Transform DEF='Blade3rotation='0 0 1 1.79'>
 40                                     <Transform USE='RotorBlade'/>
 41                                </Transform>
 42                                <Transform DEF='Blade4rotation='0 0 1 2.69'>
 43                                     <Transform USE='RotorBlade'/>
 44                                </Transform>
 45                                <Transform DEF='Blade5rotation='0 0 1 3.59'>
 46                                     <Transform USE='RotorBlade'/>
 47                                </Transform>
 48                                <Transform DEF='Blade6rotation='0 0 1 4.48'>
 49                                     <Transform USE='RotorBlade'/>
 50                                </Transform>
 51                                <Transform DEF='Blade7rotation='0 0 1 5.48'>
 52                                     <Transform USE='RotorBlade'/>
 53                                </Transform>
 54                                <Transform>
 55                                     <Transform DEF='RotorHubrotation='1 0 0 1.5702'>
 56                                          <Shape>
 57                                               <Cylinder height='1.5radius='4.6'/>
 58                                               <Appearance>
 59                                                    <Material/>
 60                                               </Appearance>
 61                                          </Shape>
 62                                          <Transform translation='0 1.5 0'>
 63                                               <Shape>
 64                                                    <Cone bottomRadius='4height='1'/>
 65                                                    <Appearance>
 66                                                         <Material diffuseColor='0.4 0.6 0.5'/>
 67                                                    </Appearance>
 68                                               </Shape>
 69                                          </Transform>
 70                                     </Transform>
 71                                     <Transform DEF='RotorMastrotation='1 0 0 1.5702translation='0 0 -1'>
 72                                          <Shape>
 73                                               <Cylinder height='4radius='0.8'/>
 74                                               <Appearance>
 75                                                    <Material emissiveColor='0.5 0.7 0.3'/>
 76                                               </Appearance>
 77                                          </Shape>
 78                                     </Transform>
 79                                </Transform>
 80                           </Transform>
 81 
                         <!-- ROUTE information for TailRotor node:  [from SpinTail.value_changed to set_rotation ] -->
                         <Transform DEF='TailRotorrotation='1 0 0 1.57translation='4.5 34 2.5'>
 82                                <!-- Tail rotor and blades 1/4 size MR and rotated -20 deg in Z axis -->
 83                                <Transform DEF='Tail_Bladerotation='0 0 1 1.5702scale='0.25 0.25 0.25'>
 84                                     <Transform USE='RotorBlade'/>
 85                                </Transform>
 86                                <Transform rotation='0 0 1 3.14scale='0.25 0.25 0.25'>
 87                                     <Transform USE='RotorBlade'/>
 88                                </Transform>
 89                                <Transform rotation='0 0 1 4.71scale='0.25 0.25 0.25'>
 90                                     <Transform USE='RotorBlade'/>
 91                                </Transform>
 92                                <Transform scale='0.25 0.25 0.25'>
 93                                     <Transform USE='RotorBlade'/>
 94                                </Transform>
 95                                <Transform DEF='Tail_Hub'>
 96                                     <Transform scale='0.25 0.25 0.25'>
 97                                          <Transform USE='RotorBlade'/>
 98                                     </Transform>
 99                                </Transform>
100                           </Transform>
101                           <Transform DEF='Fuselage_Pylons'>
102                                <Transform translation='0 -13. -5.6'>
103                                     <Shape>
104                                          <Sphere radius='2'/>
105                                          <Appearance>
106                                               <Material diffuseColor='0.8 0.8 0.5emissiveColor='0 0 1shininess='0.25transparency='0.05'/>
107                                          </Appearance>
108                                     </Shape>
109                                </Transform>
110                                <Transform rotation='1 0 0 1.5702scale='1.8 1.2 7translation='0 4.8 -7.2'>
111                                     <Shape>
112                                          <Sphere radius='3'/>
113                                          <Appearance>
114                                               <Material diffuseColor='0.2 0.4 0.8'/>
115                                          </Appearance>
116                                     </Shape>
117                                </Transform>
118                                <Transform DEF='Main_Tail_Pylontranslation='0 .5 0'>
119                                     <Transform scale='0.7 1 0.3translation='0 9 -4.5'>
120 
                                        <!-- Shape Pylon is a DEF node that has 1 USE node: USE_1 -->
                                        <Shape DEF='Pylon'>
121                                               <Cylinder height='45radius='4'/>
122                                               <Appearance>
123                                                    <Material/>
124                                               </Appearance>
125                                          </Shape>
126                                     </Transform>
127                                     <Transform rotation='0 1 0 0.39translation='1.7 0 0'>
128                                          <Transform rotation='1 0 0 .95scale='0.3 0.2 .4translation='0 33 -1'>
129                                               <Shape USE='Pylon'/>
130                                          </Transform>
131                                     </Transform>
132                                </Transform>
133                           </Transform>
134                           <Transform>
135                                <Transform DEF='Engines'>
136                                     <Transform translation='5 0 -3'>
137 
                                        <!-- Shape Engine is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                        <Shape DEF='Engine'>
138                                               <Cylinder height='10radius='0.8'/>
139                                               <Appearance>
140                                                    <Material/>
141                                               </Appearance>
142                                          </Shape>
143                                     </Transform>
144                                     <Transform DEF='Engine2translation='3.5 3 -2'>
145                                          <Shape USE='Engine'/>
146                                     </Transform>
147                                     <Transform DEF='Engine3translation='-5 0 -3'>
148                                          <Shape USE='Engine'/>
149                                     </Transform>
150                                </Transform>
151                           </Transform>
152                      </Group>
153                 </Transform>
154                 <!-- Able to get the right orientation by making my original group a child to a senior group. Need to change the orientation of viewpoint because they are now part of the parent group Tried playing with "inlines" but was geting parsing errors Rotation for tail-when rotation applied, the tail was somehow oriented in the same plane as the main rotor. -->
155            </Group>
156            <Background groundAngle='1.309 1.5702groundColor='0.1 0.1 0.0 0.4 .25 .2 .6 .60 .6skyAngle='1.309 1.571skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/>
157            <Viewpoint DEF='Frontdescription='Frontorientation='1 0 0 .1position='0 0 60'/>
158            <Viewpoint DEF='Bottomdescription='BottomfieldOfView='0.985398orientation='1 0 0 1.57position='0 -70 7'/>
159            <Viewpoint DEF='Left_Sidedescription='Left_Sideorientation='0 1 0 1.57position='60 0 0'/>
160 
          <!-- ROUTE information for Clock node:  [from fraction_changed to SpinRotor.set_fraction ] [from fraction_changed to SpinTail.set_fraction ] -->
          <TimeSensor DEF='Clockloop='true'/>
161 
          <!-- ROUTE information for SpinRotor node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to Rotor_System.set_rotation ] -->
          <OrientationInterpolator DEF='SpinRotorkey='0.0 0.5 1.0keyValue='0 0 1 0.0 0 0 1 3.14 0 0 1 6.28'/>
162 
          <!-- ROUTE information for SpinTail node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to TailRotor.set_rotation ] -->
          <OrientationInterpolator DEF='SpinTailkey='0.0 0.5 1.0keyValue='0 0 1 0.0 0 0 1 3.14 0 0 1 6.28'/>
163            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='SpinRotor' toField='set_fraction'/>
164            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='SpinTail' toField='set_fraction'/>
165            < ROUTE  fromNode='SpinRotor' fromField='value_changed' toNode='Rotor_System' toField='set_rotation'/>
166            < ROUTE  fromNode='SpinTail' fromField='value_changed' toNode='TailRotor' toField='set_rotation'/>
167       </Scene>
168  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Blade_Root, Blade1, Blade2, Blade3, Blade4, Blade5, Blade6, Blade7, BladeRoot, Bottom, Clock, Engine, Engine2, Engine3, Engines, Front, Fuselage_Pylons, Left_Side, Main_Tail_Pylon, Pylon, Rotor_System, RotorBlade, RotorHub, RotorMast, SpinRotor, SpinTail, Tail_Blade, Tail_Hub, TailRotor

Index for Viewpoint nodes: Bottom, Front, Left_Side
-->
X3D Tooltips element index: Appearance, Background, Box, Cone, Cylinder, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, Sphere, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 4 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)
SpinRotor
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
SpinRotor
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
Rotor_System
Transform
set_rotation
SFRotation
Clock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
TailRotor
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://savage.nps.edu/Savage/AircraftHelicopters/CH53UnitedStates/CH53eSimpleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftHelicopters/CH53UnitedStates/CH53eSimple.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. -->