X3D Model Documentation: Propulsion.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=' Propulsion.x3d '/>
  6            <meta name='descriptioncontent='Model of OSA-II missile boat external propulsion system.'/>
  7            <meta name='creatorcontent='modified for use by Scott Rosetti, LT USNR'/>
  8            <meta name='createdcontent='20 July 2003'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='orginalContentAuthorcontent='LT James Harney, USN'/>
 11            <meta name='subjectcontent='Osa-II, missile boat, patrol craft, SAVAGE, X3D, propulsion'/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/MissileAttackBoatOsaII/Propulsion.x3d '/>
 13            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BASE, BLADE, BRASS, CENTERSHAFT, HUB, MyClock, MyOI, OI2, OI3, PORTSHAFT, PROP, RED, STBDSHAFT

Index for Viewpoint node: Viewpoint_1
-->
 16       <Scene>
 17            <WorldInfo title='Propulsion.x3d'/>
 18            <Transform>
 19                 <Transform scale='.05 .08 .08translation='-4.2 0 -.65'>
 20                      <Transform rotation='0 0 1 1.57'>
 21                           <Transform rotation='1 0 0 -1.68'>
 22 
                              <!-- ROUTE information for STBDSHAFT node:  [from OI2.value_changed to set_rotation ] -->
                              <Transform DEF='STBDSHAFTscale='.25 .25 .25translation='4 0 0'>
 23                                     <Group DEF='PROP'>
 24 
                                        <!-- Transform HUB is a DEF node that has 1 USE node: USE_1 -->
                                        <Transform DEF='HUB'>
 25                                               <Shape>
 26                                                    <Appearance>
 27 
                                                       <!-- Material BRASS is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                                                       <Material DEF='BRASSdiffuseColor='1 .9 .3shininess='1.0specularColor='1 .9 .3'/>
 28                                                    </Appearance>
 29                                                    <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'/>
 30                                               </Shape>
 31                                          </Transform>
 32 
                                        <!-- Transform BASE is a DEF node that has 1 USE node: USE_1 -->
                                        <Transform DEF='BASE'>
 33                                               <Shape>
 34                                                    <Appearance>
 35                                                         <Material USE='BRASS'/>
 36                                                    </Appearance>
 37                                                    <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'/>
 38                                               </Shape>
 39                                          </Transform>
 40                                          <Transform rotation='1 0 0 -1.64'>
 41 
                                             <!-- Group BLADE is a DEF node that has 13 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13 -->
                                             <Group DEF='BLADE'>
 42                                                    <Transform rotation='0 0 1 -.349scale='1 .1 1translation='-2 2.25 0'>
 43                                                         <Shape>
 44                                                              <Appearance>
 45                                                                   <Material USE='BRASS'/>
 46                                                              </Appearance>
 47                                                              <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'/>
 48                                                         </Shape>
 49                                                    </Transform>
 50                                               </Group>
 51                                          </Transform>
 52                                          <Transform rotation='1 0 0 -1.64'>
 53                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 54                                               <Transform rotation='0 1 0 1.36'>
 55                                                    <Group USE='BLADE'/>
 56                                               </Transform>
 57                                          </Transform>
 58                                          <Transform rotation='1 0 0 -1.64'>
 59                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 60                                               <Transform rotation='0 1 0 2.72'>
 61                                                    <Group USE='BLADE'/>
 62                                               </Transform>
 63                                          </Transform>
 64                                          <Transform rotation='1 0 0 -1.64'>
 65                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 66                                               <Transform rotation='0 1 0 4.08'>
 67                                                    <Group USE='BLADE'/>
 68                                               </Transform>
 69                                          </Transform>
 70                                          <Transform rotation='1 0 0 -1.64'>
 71                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
 72                                               <Transform rotation='0 1 0 5.44'>
 73                                                    <Group USE='BLADE'/>
 74                                               </Transform>
 75                                          </Transform>
 76                                          <Transform>
 77                                               <Shape>
 78                                                    <Appearance>
 79 
                                                       <!-- Material RED is a DEF node that has 1 USE node: USE_1 -->
                                                       <Material DEF='REDdiffuseColor='.5 0 0shininess='1.0specularColor='.5 0 0'/>
 80                                                    </Appearance>
 81                                                    <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'/>
 82                                               </Shape>
 83                                          </Transform>
 84                                     </Group>
 85                                </Transform>
 86 
                              <!-- ROUTE information for PORTSHAFT node:  [from MyOI.value_changed to set_rotation ] -->
                              <Transform DEF='PORTSHAFTscale='.25 .25 .25translation='-4 0 0'>
 87                                     <Group>
 88                                          <Transform USE='HUB'/>
 89                                          <Transform USE='BASE'/>
 90                                          <Transform>
 91                                               <Shape>
 92                                                    <Appearance>
 93                                                         <Material USE='RED'/>
 94                                                    </Appearance>
 95                                                    <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'/>
 96                                               </Shape>
 97                                          </Transform>
 98                                          <Group>
 99                                               <Transform translation='0 0 -2.5'>
100                                                    <Transform rotation='1 0 0 1.64'>
101                                                         <Group USE='BLADE'/>
102                                                    </Transform>
103                                                    <Transform rotation='1 0 0 1.64'>
104                                                         <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
105                                                         <Transform rotation='0 1 0 1.36'>
106                                                              <Group USE='BLADE'/>
107                                                         </Transform>
108                                                    </Transform>
109                                                    <Transform rotation='1 0 0 1.64'>
110                                                         <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
111                                                         <Transform rotation='0 1 0 2.72'>
112                                                              <Group USE='BLADE'/>
113                                                         </Transform>
114                                                    </Transform>
115                                                    <Transform rotation='1 0 0 1.64'>
116                                                         <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
117                                                         <Transform rotation='0 1 0 4.08'>
118                                                              <Group USE='BLADE'/>
119                                                         </Transform>
120                                                    </Transform>
121                                                    <Transform rotation='1 0 0 1.64'>
122                                                         <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
123                                                         <Transform rotation='0 1 0 5.44'>
124                                                              <Group USE='BLADE'/>
125                                                         </Transform>
126                                                    </Transform>
127                                               </Transform>
128                                          </Group>
129                                     </Group>
130                                </Transform>
131 
                              <!-- ROUTE information for MyClock node:  [from fraction_changed to MyOI.set_fraction ] [from fraction_changed to OI2.set_fraction ] [from fraction_changed to OI3.set_fraction ] -->
                              <TimeSensor DEF='MyClockcycleInterval='2loop='true'/>
132 
                              <!-- ROUTE information for MyOI node:  [from MyClock.fraction_changed to set_fraction ] [from value_changed to PORTSHAFT.set_rotation ] -->
                              <OrientationInterpolator DEF='MyOIkey='0 0.5 1keyValue='0 0 1 0 0 0 1 3.14 0 0 1 6.28'/>
133                                < ROUTE  fromNode='MyClock' fromField='fraction_changed' toNode='MyOI' toField='set_fraction'/>
134                                < ROUTE  fromNode='MyOI' fromField='value_changed' toNode='PORTSHAFT' toField='set_rotation'/>
135 
                              <!-- ROUTE information for OI2 node:  [from MyClock.fraction_changed to set_fraction ] [from value_changed to STBDSHAFT.set_rotation ] -->
                              <OrientationInterpolator DEF='OI2key='0 0.5 1keyValue='0 0 1 6.28 0 0 1 3.14 0 0 1 0'/>
136                                < ROUTE  fromNode='MyClock' fromField='fraction_changed' toNode='OI2' toField='set_fraction'/>
137                                < ROUTE  fromNode='OI2' fromField='value_changed' toNode='STBDSHAFT' toField='set_rotation'/>
138 
                              <!-- ROUTE information for CENTERSHAFT node:  [from OI3.value_changed to set_rotation ] -->
                              <Transform DEF='CENTERSHAFTscale='.25 .25 .25'>
139                                     <Group>
140                                          <Transform>
141                                               <Shape>
142                                                    <Appearance>
143                                                         <Material diffuseColor='1 .9 .3shininess='1.0specularColor='1 .9 .3'/>
144                                                    </Appearance>
145                                                    <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'/>
146                                               </Shape>
147                                          </Transform>
148                                          <Transform>
149                                               <Shape>
150                                                    <Appearance>
151                                                         <Material USE='BRASS'/>
152                                                    </Appearance>
153                                                    <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'/>
154                                               </Shape>
155                                          </Transform>
156                                          <Transform rotation='1 0 0 -1.64'>
157                                               <Group>
158                                                    <Transform rotation='0 0 1 -.349scale='1 .1 1translation='-2 2.25 0'>
159                                                         <Shape>
160                                                              <Appearance>
161                                                                   <Material USE='BRASS'/>
162                                                              </Appearance>
163                                                              <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'/>
164                                                         </Shape>
165                                                    </Transform>
166                                               </Group>
167                                          </Transform>
168                                          <Transform rotation='1 0 0 -1.64'>
169                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
170                                               <Transform rotation='0 1 0 1.36'>
171                                                    <Group USE='BLADE'/>
172                                               </Transform>
173                                          </Transform>
174                                          <Transform rotation='1 0 0 -1.64'>
175                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
176                                               <Transform rotation='0 1 0 2.72'>
177                                                    <Group USE='BLADE'/>
178                                               </Transform>
179                                          </Transform>
180                                          <Transform rotation='1 0 0 -1.64'>
181                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
182                                               <Transform rotation='0 1 0 4.08'>
183                                                    <Group USE='BLADE'/>
184                                               </Transform>
185                                          </Transform>
186                                          <Transform rotation='1 0 0 -1.64'>
187                                               <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub -->
188                                               <Transform rotation='0 1 0 5.44'>
189                                                    <Group USE='BLADE'/>
190                                               </Transform>
191                                          </Transform>
192                                          <Transform>
193                                               <Shape>
194                                                    <Appearance>
195                                                         <Material diffuseColor='.5 0 0shininess='1.0specularColor='.5 0 0'/>
196                                                    </Appearance>
197                                                    <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'/>
198                                               </Shape>
199                                          </Transform>
200                                     </Group>
201                                </Transform>
202 
                              <!-- ROUTE information for OI3 node:  [from MyClock.fraction_changed to set_fraction ] [from value_changed to CENTERSHAFT.set_rotation ] -->
                              <OrientationInterpolator DEF='OI3key='0 .5 1keyValue='0 0 1 6.28 0 0 1 3.14 0 0 1 0'/>
203                                < ROUTE  fromNode='MyClock' fromField='fraction_changed' toNode='OI3' toField='set_fraction'/>
204                                < ROUTE  fromNode='OI3' fromField='value_changed' toNode='CENTERSHAFT' toField='set_rotation'/>
205                           </Transform>
206                      </Transform>
207                      <Transform translation='6 4 .5'>
208                           <Transform rotation='0 1 0 -.11'>
209                                <Transform rotation='0 0 1 -1.57'>
210                                     <Shape>
211                                          <Appearance>
212                                               <Material diffuseColor='1 0 0'/>
213                                          </Appearance>
214                                          <Cylinder height='3.5radius='.5'/>
215                                     </Shape>
216                                </Transform>
217                                <Transform translation='-1.6 0 1.5'>
218                                     <Transform rotation='0 0 1 -1.57scale='40 3 8'>
219                                          <Transform rotation='1 0 0 -1.57'>
220                                               <Shape>
221                                                    <Appearance>
222                                                         <Material diffuseColor='1 0 0'/>
223                                                    </Appearance>
224                                                    <Extrusion creaseAngle='1.5crossSection='.01 .2 -.01 .2 -.012 .05 -.01 -.1 -.008 -.15 -.005 -.17 0 -.2 .005 -.17 .008 -.15 .01 -.1 .012 .05 .01 .2scale='1 1 1 1solid='falsespine='0 0 0 0 0 1'/>
225                                               </Shape>
226                                          </Transform>
227                                     </Transform>
228                                </Transform>
229                           </Transform>
230                      </Transform>
231                      <Transform translation='6 0 .5'>
232                           <Transform rotation='0 1 0 -.11'>
233                                <Transform rotation='0 0 1 -1.57'>
234                                     <Shape>
235                                          <Appearance>
236                                               <Material diffuseColor='1 0 0'/>
237                                          </Appearance>
238                                          <Cylinder height='3.5radius='.5'/>
239                                     </Shape>
240                                </Transform>
241                                <Transform translation='-1.6 0 1.5'>
242                                     <Transform rotation='0 0 1 -1.57scale='40 3 8'>
243                                          <Transform rotation='1 0 0 -1.57'>
244                                               <Shape>
245                                                    <Appearance>
246                                                         <Material diffuseColor='1 0 0'/>
247                                                    </Appearance>
248                                                    <Extrusion creaseAngle='1.5crossSection='.01 .2 -.01 .2 -.012 .05 -.01 -.1 -.008 -.15 -.005 -.17 0 -.2 .005 -.17 .008 -.15 .01 -.1 .012 .05 .01 .2scale='1 1 1 1solid='falsespine='0 0 0 0 0 1'/>
249                                               </Shape>
250                                          </Transform>
251                                     </Transform>
252                                </Transform>
253                           </Transform>
254                      </Transform>
255                      <Transform translation='6 -4 .5'>
256                           <Transform rotation='0 1 0 -.11'>
257                                <Transform rotation='0 0 1 -1.57'>
258                                     <Shape>
259                                          <Appearance>
260                                               <Material diffuseColor='1 0 0'/>
261                                          </Appearance>
262                                          <Cylinder height='3.5radius='.5'/>
263                                     </Shape>
264                                </Transform>
265                                <Transform translation='-1.6 0 1.5'>
266                                     <Transform rotation='0 0 1 -1.57scale='40 3 8'>
267                                          <Transform rotation='1 0 0 -1.57'>
268                                               <Shape>
269                                                    <Appearance>
270                                                         <Material diffuseColor='1 0 0'/>
271                                                    </Appearance>
272                                                    <Extrusion creaseAngle='1.5crossSection='.01 .2 -.01 .2 -.012 .05 -.01 -.1 -.008 -.15 -.005 -.17 0 -.2 .005 -.17 .008 -.15 .01 -.1 .012 .05 .01 .2scale='1 1 1 1solid='falsespine='0 0 0 0 0 1'/>
273                                               </Shape>
274                                          </Transform>
275                                     </Transform>
276                                </Transform>
277                           </Transform>
278                      </Transform>
279                      <!-- 3-shaft propulsion system to include shafts, propellers, and struts. Basis for shafts and propellers taken from James Harney DDG model (see reference). -->
280                 </Transform>
281            </Transform>
282            <Transform rotation='0 1 0 -1.9'>
283                 <Viewpoint description='Propellersorientation='0 0 1 1.57'/>
284            </Transform>
285       </Scene>
286  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BASE, BLADE, BRASS, CENTERSHAFT, HUB, MyClock, MyOI, OI2, OI3, PORTSHAFT, PROP, RED, STBDSHAFT

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Cylinder, Extrusion, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 6 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
MyClock
TimeSensor
fraction_changed
SFFloat

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

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