X3D Model Documentation: Mk46Torpedo.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='Mk46Torpedo.x3d'/>
  6            <meta name='descriptioncontent='U.S. Navy Mk46 torpedo'/>
  7            <meta name='createdcontent='7 April 2003'/>
  8            <meta name='modifiedcontent='28 November 2019'/>
  9            <meta name='creatorcontent='Jeffrey Weekley and UW3303 course'/>
 10            <meta name='photocontent='http://www.chinfo.navy.mil/navpalib/factfile/weapons/wep-torp.html'/>
 11            <meta name='referencecontent='https://www.fas.org/man/dod-101/sys/ship/weaps/mk-46.htm'/>
 12            <meta name='identifiercontent='https://savage.nps.edu/Savage/Weapons/Torpedoes/Mk46Torpedo.x3d'/>
 13            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Clock, ControlFin1, ControlFin2, ControlFin3, ControlFin4, controlfins, propeller, PropSpin, stabilizerfin1, stabilizerfin2, stabilizerfin3, stabilizerfin4, stabilzerfins, statorblade1, statorblade2, statorblade3, statorbladeshaft, statorcrankshaft, TailSection, torpedo, torpedoband1, torpedonose, torpedoshroud, torpedostator, torpedostatorblade1, torpedostatorblade1A, torpedotail

Index for Viewpoint node: Viewpoint_1
-->
 16       <Scene>
 17            <WorldInfo title='Mk46Torpedo.x3d'/>
 18            <WorldInfo info='"Only unclassified open resources were used to create this model."'/>
 19            <Inline   url=' "../../Tools/Authoring/GridXZ_20x20Movable.x3d" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZ_20x20Movable.x3d" "../../Tools/Authoring/GridXZ_20x20Movable.wrl" "https://savage.nps.edu/Savage/Tools/Authoring/GridXZ_20x20Movable.wrl" '/>
 20            <Viewpoint description='Mk46 Torpedoposition='0 0 5'/>
 21            <Group>
 22                 <Transform DEF='torpedorotation='0.0 0.0 1.0 1.57079translation='2.66 0 0'>
 23                      <Transform DEF='torpedoband1translation='0.0 2.53 0.0'>
 24                           <Shape>
 25                                <Cylinder bottom='falseheight='2.13radius='0.163top='false'/>
 26                                <Appearance>
 27                                     <Material diffuseColor='0.1 0.2 0.1specularColor='0.15 0.25 0.15'/>
 28                                </Appearance>
 29                           </Shape>
 30                      </Transform>
 31                      <Transform DEF='torpedonoserotation='1.0 0.0 0.0 3.1416scale='0.613 0.3 0.613translation='0.0 1.485 0.0'>
 32                           <Shape>
 33                                <Appearance>
 34                                     <Material diffuseColor='0.05 0.05 0.075specularColor='0.1 0.1 0.15'/>
 35                                </Appearance>
 36                                <Extrusion creaseAngle='1.785crossSection='0.267 0.000 0.231 -0.134 0.134 -0.231 0.0 -0.267 -0.134 -0.231 -0.231 -0.134 -0.267 0.000 -0.231 0.134 -0.134 0.231 0.0 0.267 0.134 0.231 0.231 0.134 0.267 0.0scale='1.00 1.00 0.95 0.95 0.88 0.88 0.76 0.76 0.48 0.48spine='0.00 0.00 0.00 0.00 0.10 0.00 0.00 0.20 0.00 0.00 0.30 0.00 0.00 0.40 0.00'/>
 37                           </Shape>
 38                      </Transform>
 39                      <Transform scale='0.613 0.25 0.613translation='0 1.95 0'>
 40                           <Group DEF='controlfins'>
 41                                <Transform rotation='0 -1 0 5.27translation='0.0 0.125 0.0'>
 42                                     <Transform DEF='ControlFin1'/>
 43                                     <Transform DEF='ControlFin2rotation='0 1 0 3.17'/>
 44                                     <Transform DEF='ControlFin3rotation='0 1 0 1.57'/>
 45                                     <Transform DEF='ControlFin4rotation='0.0 1.0 0.0 4.74'/>
 46                                </Transform>
 47                           </Group>
 48                           <Group DEF='stabilzerfins'>
 49                                <Transform translation='0.0 8.15 0.0'>
 50 
                                   <!-- Transform stabilizerfin1 is a DEF node that has 1 USE node: USE_1 -->
                                   <Transform DEF='stabilizerfin1translation='0.19 -0.625 0.0'>
 51                                          <Shape>
 52                                               <Box size='0.175 0.75 0.02'/>
 53                                               <Appearance>
 54                                                    <Material diffuseColor='0.1 0.2 0.1'/>
 55                                               </Appearance>
 56                                          </Shape>
 57                                     </Transform>
 58 
                                   <!-- Transform stabilizerfin2 is a DEF node that has 1 USE node: USE_1 -->
                                   <Transform DEF='stabilizerfin2rotation='0.0 1.0 0.0 1.57translation='0.0 -0.625 0.19'>
 59                                          <Shape>
 60                                               <Box size='0.175 0.75 0.02'/>
 61                                               <Appearance>
 62                                                    <Material diffuseColor='0.1 0.2 0.1'/>
 63                                               </Appearance>
 64                                          </Shape>
 65                                     </Transform>
 66                                     <Transform DEF='stabilizerfin3rotation='0.0 1.0 0.0 3.1416'>
 67                                          <Transform USE='stabilizerfin1'/>
 68                                     </Transform>
 69                                     <Transform DEF='stabilizerfin4rotation='0.0 1.0 0.0 3.1416'>
 70                                          <Transform USE='stabilizerfin2'/>
 71                                     </Transform>
 72                                </Transform>
 73                           </Group>
 74                           <Group DEF='TailSection'>
 75                                <Transform DEF='torpedotailrotation='1.0 0.0 0.0 3.1416translation='0.0 7.9375 0.0'>
 76                                     <Shape>
 77                                          <Appearance>
 78                                               <Material diffuseColor='0.05 0.05 0.075specularColor='0.1 0.1 0.15'/>
 79                                          </Appearance>
 80                                          <Extrusion creaseAngle='2.0crossSection='0.267 0.000 0.231 -0.134 0.134 -0.231 0.0 -0.267 -0.134 -0.231 -0.231 -0.134 -0.267 0.000 -0.231 0.134 -0.134 0.231 0.0 0.267 0.134 0.231 0.231 0.134 0.267 0.0endCap='falsescale='0.342 0.342 0.500 0.500 0.643 0.643 0.766 0.766 0.866 0.866 0.940 0.940 0.985 0.985 1.0 1.0spine='0.0 0.0 0.000 0.0 0.114 0.000 0.0 0.266 0.000 0.0 0.453 0.000 0.0 0.670 0.000 0.0 0.910 0.000 0.0 1.166 0.000 0.0 1.431 0.0'/>
 81                                     </Shape>
 82                                     <Transform scale='1 1.5 1translation='0 0.125 0'>
 83                                          <Shape DEF='torpedoshroud'>
 84                                               <Appearance>
 85                                                    <Material diffuseColor='0.05 0.05 0.075specularColor='0.1 0.1 0.15'/>
 86                                               </Appearance>
 87                                               <Extrusion creaseAngle='.785crossSection='0.00 0.00 -0.02 0.00 -0.02 -0.10 -0.06 -0.20 -0.04 -0.20 0.00 -0.10 0.00 0.00solid='falsespine='0.20 0.00 0.00 0.19 0.00 -0.07 0.15 0.00 -0.13 0.10 0.00 -0.17 0.03 0.00 -0.20 -0.03 0.00 -0.20 -0.10 0.00 -0.17 -0.15 0.00 -0.13 -0.19 0.00 -0.07 -0.20 0.00 0.00 -0.19 0.00 0.07 -0.15 0.00 0.13 -0.10 0.00 0.17 -0.03 0.00 0.20 0.03 0.00 0.20 0.10 0.00 0.17 0.15 0.00 0.13 0.19 0.00 0.07 0.20 0.00 0.00'/>
 88                                          </Shape>
 89                                     </Transform>
 90                                     <Group DEF='torpedostator'>
 91 
                                        <!-- ROUTE information for propeller node:  [from PropSpin.value_changed to rotation ] -->
                                        <Transform DEF='propellertranslation='0.0 -0.15 0.0'>
 92 
                                             <!-- Group statorblade1 is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                             <Group DEF='statorblade1'>
 93                                                    <Transform DEF='torpedostatorblade1'>
 94                                                         <Transform rotation='-1.0 0.0 0.0 3.43translation='0.075 0.0 0.0'>
 95                                                              <Shape>
 96                                                                   <Box size='0.125 0.09 0.015'/>
 97                                                                   <Appearance>
 98                                                                        <Material diffuseColor='0.05 0.05 0.075'/>
 99                                                                   </Appearance>
100                                                              </Shape>
101                                                         </Transform>
102                                                    </Transform>
103                                                    <Transform DEF='torpedostatorblade1A'>
104                                                         <Transform rotation='1 0 0 3.43translation='-0.075 0.0 0.0'>
105                                                              <Shape>
106                                                                   <Box size='0.125 0.09 0.015'/>
107                                                                   <Appearance>
108                                                                        <Material diffuseColor='0.05 0.05 0.075'/>
109                                                                   </Appearance>
110                                                              </Shape>
111                                                         </Transform>
112                                                    </Transform>
113                                               </Group>
114                                               <Group DEF='statorblade2'>
115                                                    <Transform rotation='0 1 0 2.04'>
116                                                         <Group USE='statorblade1'/>
117                                                    </Transform>
118                                               </Group>
119                                               <Group DEF='statorblade3'>
120                                                    <Transform rotation='0 -1 0 5.27'>
121                                                         <Group USE='statorblade1'/>
122                                                    </Transform>
123                                               </Group>
124                                               <Transform DEF='statorbladeshafttranslation='0.0 0 0.0'>
125                                                    <Shape>
126                                                         <Appearance>
127                                                              <Material diffuseColor='0.05 0.05 0.075'/>
128                                                         </Appearance>
129                                                         <Cylinder height='0.1radius='0.05'/>
130                                                    </Shape>
131                                               </Transform>
132                                               <Transform DEF='statorcrankshafttranslation='0.0 0.1 0.0'>
133                                                    <Shape>
134                                                         <Cylinder height='.125radius='.025'/>
135                                                         <Appearance>
136                                                              <Material diffuseColor='0.0 0.0 0.75'/>
137                                                         </Appearance>
138                                                    </Shape>
139                                               </Transform>
140                                          </Transform>
141 
                                        <!-- ROUTE information for PropSpin node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to propeller.rotation ] -->
                                        <OrientationInterpolator DEF='PropSpinkey='0.0 0.5 1.0keyValue='0.0 1.0 0.0 0.00 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28'/>
142 
                                        <!-- ROUTE information for Clock node:  [from fraction_changed to PropSpin.set_fraction ] -->
                                        <TimeSensor DEF='ClockcycleInterval='0.5loop='true'/>
143                                          <!-- Spins the propellor and stator once every 4 seconds -->
144                                     </Group>
145                                </Transform>
146                           </Group>
147                      </Transform>
148                 </Transform>
149            </Group>
150            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='PropSpin' toField='set_fraction'/>
151            < ROUTE  fromNode='PropSpin' fromField='value_changed' toNode='propeller' toField='rotation'/>
152       </Scene>
153  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: Clock, ControlFin1, ControlFin2, ControlFin3, ControlFin4, controlfins, propeller, PropSpin, stabilizerfin1, stabilizerfin2, stabilizerfin3, stabilizerfin4, stabilzerfins, statorblade1, statorblade2, statorblade3, statorbladeshaft, statorcrankshaft, TailSection, torpedo, torpedoband1, torpedonose, torpedoshroud, torpedostator, torpedostatorblade1, torpedostatorblade1A, torpedotail

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Extrusion, Group, head, Inline, 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 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)
PropSpin
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
PropSpin
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
propeller
Transform
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/Weapons/Torpedoes/Mk46TorpedoIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/Weapons/Torpedoes/Mk46Torpedo.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. -->