X3D Model Documentation: Propellers.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=' Propellers.x3d '/>
  6            <meta name='descriptioncontent='DDG-51 Arleigh Burke Flight IIA propellers and shafts modified from from DDG-51 Arleigh Burke form Savage DB.'/>
  7            <meta name='creatorcontent='James Harney Modified for use on DDG-51 Flight IIA by LT Joe Sears, USN'/>
  8            <meta name='createdcontent='1 August 2001'/>
  9            <meta name='infocontent='modified 8 August 2003 by LT Joe Sears for DDG-51FlightIIA'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ship/ddg-51.htm '/>
 12            <meta name='referencecontent=' FASDDG51.htm '/>
 13            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DDGArleighBurkeUnitedStates/Propellers.x3d '/>
 14            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BASE, BLADE, BRASS, HUB, MyClock, MyOI, OI2, PORTSHAFT, PROP, RED, STBDSHAFT
-->
 17       <Scene>
 18            <WorldInfo title='Propellers.x3d'/>
 19 
          <!-- ROUTE information for STBDSHAFT node:  [from OI2.value_changed to set_rotation ] -->
          <Transform DEF='STBDSHAFTscale='.3 .3 .3translation='4 0 0'>
 20                 <Transform/>
 21                 <Group DEF='PROP'>
 22 
                    <!-- Transform HUB is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='HUB'>
 23                           <Shape>
 24                                <Appearance>
 25 
                                   <!-- Material BRASS is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                   <Material DEF='BRASSdiffuseColor='1 .9 .3shininess='1.0specularColor='1 .9 .3'/>
 26                                </Appearance>
 27                                <Extrusion creaseAngle='.785crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00solid='falsespine='0.0 0.0 0.0 0.0 0.0 -3.29'/>
 28                           </Shape>
 29                      </Transform>
 30 
                    <!-- Transform BASE is a DEF node that has 1 USE node: USE_1 -->
                    <Transform DEF='BASE'>
 31                           <Shape>
 32                                <Appearance>
 33                                     <Material USE='BRASS'/>
 34                                </Appearance>
 35                                <Extrusion creaseAngle='.785crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00scale='1.0 1.0 .8 .8 .4 .4 .4 .4solid='falsespine='0.0 0.0 0.1 0.0 0.0 1.14 0.0 0.0 1.56 0.0 0.0 1.66'/>
 36                           </Shape>
 37                      </Transform>
 38                      <Transform rotation='1 0 0 -1.64'>
 39 
                         <!-- Group BLADE is a DEF node that has 9 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9 -->
                         <Group DEF='BLADE'>
 40                                <Transform rotation='0 0 1 -.349scale='1 .1 1translation='-2 2.25 0'>
 41                                     <Shape>
 42                                          <Appearance>
 43                                               <Material USE='BRASS'/>
 44                                          </Appearance>
 45                                          <Extrusion creaseAngle='1.1crossSection='2 .2 1.95 .5 1.9 1 1.95 1.5 2 2 2.1 1.5 2.1 3 2 3.5 1.75 4 1.65 4.5 .5 4.85 .4 5 .5 5.4 1 5.6 1.5 5.9 2 6 2.5 6.05 3 6.05 3.5 6.05 4 6.05 4.5 6 5 5.95 5.5 5.6 5.6 5.5 6 5.25 6.5 5 6.8 4.5 7.1 4 7.4 3.5 7.45 3 7.4 2.5 7.15 2 7 1.5 6.5 1.25 6 1 5.5 .95 5 .925 4.5 .85 4 .55 4 .45 3.5 .46 3 .5 2.5 .46 2 .2'/>
 46                                     </Shape>
 47                                </Transform>
 48                           </Group>
 49                      </Transform>
 50                      <Transform rotation='1 0 0 -1.64'>
 51                           <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 52                           <Transform rotation='0 1 0 1.36'>
 53                                <Group USE='BLADE'/>
 54                           </Transform>
 55                      </Transform>
 56                      <Transform rotation='1 0 0 -1.64'>
 57                           <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 58                           <Transform rotation='0 1 0 2.72'>
 59                                <Group USE='BLADE'/>
 60                           </Transform>
 61                      </Transform>
 62                      <Transform rotation='1 0 0 -1.64'>
 63                           <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 64                           <Transform rotation='0 1 0 4.08'>
 65                                <Group USE='BLADE'/>
 66                           </Transform>
 67                      </Transform>
 68                      <Transform rotation='1 0 0 -1.64'>
 69                           <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 70                           <Transform rotation='0 1 0 5.44'>
 71                                <Group USE='BLADE'/>
 72                           </Transform>
 73                      </Transform>
 74                      <Transform>
 75                           <Shape>
 76                                <Appearance>
 77 
                                   <!-- Material RED is a DEF node that has 1 USE node: USE_1 -->
                                   <Material DEF='REDdiffuseColor='.5 0 0shininess='1.0specularColor='.5 0 0'/>
 78                                </Appearance>
 79                                <Extrusion creaseAngle='.785crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00solid='falsespine='0.0 0.0 -3.3 0.0 0.0 -125.58'/>
 80                           </Shape>
 81                      </Transform>
 82                 </Group>
 83            </Transform>
 84 
          <!-- ROUTE information for PORTSHAFT node:  [from MyOI.value_changed to set_rotation ] -->
          <Transform DEF='PORTSHAFTscale='.3 .3 .3translation='-4 0 0'>
 85                 <Group>
 86                      <Transform USE='HUB'/>
 87                      <Transform USE='BASE'/>
 88                      <Transform>
 89                           <Shape>
 90                                <Appearance>
 91                                     <Material USE='RED'/>
 92                                </Appearance>
 93                                <Extrusion creaseAngle='.785crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00solid='falsespine='0.0 0.0 -3.3 0.0 0.0 -125.58'/>
 94                           </Shape>
 95                      </Transform>
 96                      <Group>
 97                           <Transform translation='0 0 -2.5'>
 98                                <Transform rotation='1 0 0 1.64'>
 99                                     <Group USE='BLADE'/>
100                                </Transform>
101                                <Transform rotation='1 0 0 1.64'>
102                                     <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
103                                     <Transform rotation='0 1 0 1.36'>
104                                          <Group USE='BLADE'/>
105                                     </Transform>
106                                </Transform>
107                                <Transform rotation='1 0 0 1.64'>
108                                     <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
109                                     <Transform rotation='0 1 0 2.72'>
110                                          <Group USE='BLADE'/>
111                                     </Transform>
112                                </Transform>
113                                <Transform rotation='1 0 0 1.64'>
114                                     <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
115                                     <Transform rotation='0 1 0 4.08'>
116                                          <Group USE='BLADE'/>
117                                     </Transform>
118                                </Transform>
119                                <Transform rotation='1 0 0 1.64'>
120                                     <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
121                                     <Transform rotation='0 1 0 5.44'>
122                                          <Group USE='BLADE'/>
123                                     </Transform>
124                                </Transform>
125                           </Transform>
126                      </Group>
127                 </Group>
128            </Transform>
129 
          <!-- ROUTE information for MyClock node:  [from fraction_changed to MyOI.set_fraction ] [from fraction_changed to OI2.set_fraction ] -->
          <TimeSensor DEF='MyClockcycleInterval='2loop='true'/>
130 
          <!-- ROUTE information for MyOI node:  [from MyClock.fraction_changed to set_fraction ] [from value_changed to PORTSHAFT.set_rotation ] -->
          <OrientationInterpolator DEF='MyOIkey='0.5 1keyValue='0 0 1 0 0 0 1 3.14 0 0 1 6.28'/>
131            < ROUTE  fromNode='MyClock' fromField='fraction_changed' toNode='MyOI' toField='set_fraction'/>
132            < ROUTE  fromNode='MyOI' fromField='value_changed' toNode='PORTSHAFT' toField='set_rotation'/>
133 
          <!-- ROUTE information for OI2 node:  [from MyClock.fraction_changed to set_fraction ] [from value_changed to STBDSHAFT.set_rotation ] -->
          <OrientationInterpolator DEF='OI2key='0 .5 1keyValue='0 0 1 6.28 0 0 1 3.14 0 0 1 0'/>
134            < ROUTE  fromNode='MyClock' fromField='fraction_changed' toNode='OI2' toField='set_fraction'/>
135            < ROUTE  fromNode='OI2' fromField='value_changed' toNode='STBDSHAFT' toField='set_rotation'/>
136       </Scene>
137  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BASE, BLADE, BRASS, HUB, MyClock, MyOI, OI2, PORTSHAFT, PROP, RED, STBDSHAFT
-->
X3D Tooltips element index: Appearance, Extrusion, Group, head, 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 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.

MyClock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
PORTSHAFT
Transform
set_rotation
SFRotation
MyClock
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
STBDSHAFT
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/DDGArleighBurkeUnitedStates/PropellersIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DDGArleighBurkeUnitedStates/Propellers.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. -->