X3D Model Documentation: Fan.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=' Fan.x3d '/>
  6            <meta name='descriptioncontent='Fan with Cowling, Shaft and Control Surfaces for the LCAC'/>
  7            <meta name='creatorcontent='Jeffrey Weekley'/>
  8            <meta name='createdcontent='13 June 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ship/lcac.htm '/>
 11            <meta name='referencecontent=' http://www.surfpac.navy.mil/acu5/lcac.htm '/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/Fan.x3d '/>
 13            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='subjectcontent='LCAC Propellor'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, Cowling, Fan, Grate, NoGrate, NoseCone, Propellor, PropellorControlSurfaces, PropellorLOD, PropSpin, RearGrate, RearNoGrate, Shaft, SideOne, SideThree, SideTwo, Strut, StrutFive, StrutFour, StrutThree, StrutTwo, SurfaceOne, SurfaceTwo

Index for Viewpoint node: Viewpoint_1
-->
 17       <Scene>
 18            <!-- Scale verified by http://www.surfpac.navy.mil/acu5/lcac.htm -->
 19            <WorldInfo title='Fan.x3d'/>
 20            <Background skyColor='0.2 0.66 1'/>
 21            <Viewpoint description='LCAC Fan from Aft'/>
 22            <Transform DEF='Fanrotation='1 0 0 1.57'>
 23                 <Transform DEF='Cowling'>
 24                      <LOD range='80'>
 25                           <Transform rotation='0 1 0 0.758scale='1 6 1'>
 26                                <Shape>
 27                                     <Appearance>
 28                                          <ImageTexture   url=' "CowlingPaint.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/CowlingPaint.jpg " '/>
 29                                     </Appearance>
 30                                     <Extrusion beginCap='falseconvex='falsecreaseAngle='12.56crossSection='0.1 0.00 0.092 -0.038 0.071 -0.071 0.038 -0.092 0.00 -0.10 -0.038 -0.092 -0.071 -0.071 -0.092 -0.038 -0.10 -0.00 -0.092 0.038 -0.071 0.071 -0.038 0.092 0.00 0.10 0.038 0.092 0.071 0.071 0.092 0.038 0.10 0.00endCap='falsespine='2.00 0.0 0.00 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.00 0.0 2.00 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.00 0.0 0.00 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.00 0.0 -2.00 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.00 0.0 0.00'/>
 31                                </Shape>
 32                           </Transform>
 33                           <Transform rotation='0 1 0 0.758scale='1 6 1'>
 34                                <Shape>
 35                                     <Appearance>
 36                                          <Material diffuseColor='0.9 0.9 0.9'/>
 37                                     </Appearance>
 38                                     <Extrusion beginCap='falseconvex='falsecreaseAngle='12.56crossSection='0.1 0.00 0.092 -0.038 0.071 -0.071 0.038 -0.092 0.00 -0.10 -0.038 -0.092 -0.071 -0.071 -0.092 -0.038 -0.10 -0.00 -0.092 0.038 -0.071 0.071 -0.038 0.092 0.00 0.10 0.038 0.092 0.071 0.071 0.092 0.038 0.10 0.00endCap='falsespine='2.00 0.0 0.00 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.00 0.0 2.00 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.00 0.0 0.00 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.00 0.0 -2.00 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.00 0.0 0.00'/>
 39                                </Shape>
 40                           </Transform>
 41                      </LOD>
 42                      <LOD range='80'>
 43                           <Transform DEF='Gratetranslation='0 0.5025 0'>
 44                                <Shape>
 45                                     <Cylinder height='0.05radius='2'/>
 46                                     <Appearance>
 47                                          <Material transparency='0.6'/>
 48                                          <ImageTexture   url=' "grate.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/grate.jpg " '/>
 49                                     </Appearance>
 50                                </Shape>
 51                           </Transform>
 52                           <Transform DEF='NoGratetranslation='0 0.5025 0'>
 53                                <Shape>
 54                                     <Cylinder height='0.05radius='2'/>
 55                                     <Appearance>
 56                                          <Material transparency='0.6'/>
 57                                     </Appearance>
 58                                </Shape>
 59                           </Transform>
 60                      </LOD>
 61                      <LOD range='60'>
 62                           <Transform>
 63 
                              <!-- Transform Strut is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                              <Transform DEF='Strutrotation='0 0 1 1.57translation='0 0.05 0.4'>
 64                                     <Transform DEF='SurfaceOne'>
 65                                          <Shape>
 66                                               <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 -1'>
 67                                                    <Coordinate point='0 0 -0.25 0.4 0 -0.25 0.3 0 1.5 0.1 0 1.5 0 0 -0.25'/>
 68                                               </IndexedFaceSet>
 69                                               <Appearance>
 70                                                    <Material diffuseColor='0.25 0.5 0.95'/>
 71                                               </Appearance>
 72                                          </Shape>
 73                                     </Transform>
 74                                     <Transform DEF='SurfaceTwo'>
 75                                          <Shape>
 76                                               <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 -1'>
 77                                                    <Coordinate point='0 -0.01 -0.25 0.4 -0.01 -0.25 0.3 -0.01 1.5 0.1 -0.01 1.5 0 -0.01 -0.25'/>
 78                                               </IndexedFaceSet>
 79                                               <Appearance>
 80                                                    <Material diffuseColor='0.25 0.5 0.95'/>
 81                                               </Appearance>
 82                                          </Shape>
 83                                     </Transform>
 84                                     <Transform DEF='SideOne'>
 85                                          <Shape>
 86                                               <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 -1'>
 87                                                    <Coordinate point='0.3 0 1.5 0.4 0 -0.25 0.4 -0.01 -0.25 0.3 -0.01 1.5 0.3 0 1.5'/>
 88                                               </IndexedFaceSet>
 89                                               <Appearance>
 90                                                    <Material diffuseColor='0.25 0.5 0.95'/>
 91                                               </Appearance>
 92                                          </Shape>
 93                                     </Transform>
 94                                     <Transform DEF='SideTwo'>
 95                                          <Shape>
 96                                               <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 -1'>
 97                                                    <Coordinate point='0 0 -0.25 0 -0.01 -0.25 0.4 -0.01 -0.25 0.4 0 -0.25 0 0 -0.25'/>
 98                                               </IndexedFaceSet>
 99                                               <Appearance>
100                                                    <Material diffuseColor='0.25 0.5 0.95'/>
101                                               </Appearance>
102                                          </Shape>
103                                     </Transform>
104                                     <Transform DEF='SideThree'>
105                                          <Shape>
106                                               <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 -1'>
107                                                    <Coordinate point='0 0 -0.25 0 -0.01 -0.25 0.1 -0.01 1.5 0.1 0 1.5 0 0 -0.25'/>
108                                               </IndexedFaceSet>
109                                               <Appearance>
110                                                    <Material diffuseColor='0.25 0.75 0.25'/>
111                                               </Appearance>
112                                          </Shape>
113                                     </Transform>
114                                </Transform>
115                                <Transform DEF='StrutTworotation='0 1 0 1.26'>
116                                     <Transform USE='Strut'/>
117                                </Transform>
118                                <Transform DEF='StrutThreerotation='0 1 0 2.51'>
119                                     <Transform USE='Strut'/>
120                                </Transform>
121                                <Transform DEF='StrutFourrotation='0 1 0 3.77'>
122                                     <Transform USE='Strut'/>
123                                </Transform>
124                                <Transform DEF='StrutFiverotation='0 -1 0 1.26'>
125                                     <Transform USE='Strut'/>
126                                </Transform>
127                           </Transform>
128                           <Transform/>
129                      </LOD>
130                      <LOD range='80 120'>
131                           <Transform DEF='RearGraterotation='1 0 0 3.14translation='0 -1 0'>
132                                <Shape>
133                                     <Cone bottom='falsebottomRadius='2height='1'/>
134                                     <Appearance>
135                                          <Material transparency='0.6'/>
136                                          <ImageTexture   url=' "RearGrate.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/RearGrate.jpg " '/>
137                                     </Appearance>
138                                </Shape>
139                           </Transform>
140                           <Transform DEF='RearNoGraterotation='1 0 0 3.14translation='0 -1 0'>
141                                <Shape>
142                                     <Cone bottom='falsebottomRadius='2height='1'/>
143                                     <Appearance>
144                                          <Material diffuseColor='0.6 0.6 0.6transparency='0.6'/>
145                                     </Appearance>
146                                </Shape>
147                           </Transform>
148                           <Transform/>
149                      </LOD>
150                 </Transform>
151                 <Transform DEF='PropellorLODtranslation='0 -0.3 0'>
152                      <LOD range='40'>
153 
                         <!-- ROUTE information for Propellor node:  [from PropSpin.value_changed to rotation ] -->
                         <Transform DEF='Propellor'>
154                                <Transform rotation='0 0 -1 1.57'>
155 
                                   <!-- Transform Blade is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <Transform DEF='Bladerotation='0 -1 0 0.79'>
156                                          <Shape>
157                                               <Appearance>
158                                                    <Material diffuseColor='0.8 0.25 0'/>
159                                               </Appearance>
160                                               <Extrusion creaseAngle='1.785crossSection='1 0 0.3 0.28 -0.1 0.38 -0.4 0.35 -0.7 0.2 -0.8 0.1 -0.85 0 -0.8 -0.15 -0.4 -0.28 0 -0.21 0.3 -0.14 0.6 -0.08 1 0scale='0.2 0.2 0.185 0.185 0.166 0.166 0.133 0.133 0.11667 0.11667 0.105 0.105 0.095 0.095 0.088 0.088 0.076 0.076solid='falsespine='0 0.1667 0 0 0.333 0 0 0.4667 0 0 0.666 0 0 1 0 0 1.1667 0 0 1.333 0 0 1.666 0 0 2 0'/>
161                                          </Shape>
162                                     </Transform>
163                                     <Transform rotation='1 0 0 1.57'>
164                                          <Transform USE='Blade'/>
165                                     </Transform>
166                                     <Transform rotation='1 0 0 3.14'>
167                                          <Transform USE='Blade'/>
168                                     </Transform>
169                                     <Transform rotation='1 0 0 4.71'>
170                                          <Transform USE='Blade'/>
171                                     </Transform>
172                                </Transform>
173 
                              <!-- ROUTE information for PropSpin node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to Propellor.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'/>
174 
                              <!-- ROUTE information for Clock node:  [from fraction_changed to PropSpin.set_fraction ] -->
                              <TimeSensor DEF='ClockcycleInterval='2loop='true'/>
175                           </Transform>
176                           <Transform>
177                                <Shape>
178                                     <Cylinder height='0.0125radius='1.75'/>
179                                     <Appearance>
180                                          <Material diffuseColor='0.8 0.25 0transparency='0.5'/>
181                                     </Appearance>
182                                </Shape>
183                           </Transform>
184                      </LOD>
185                 </Transform>
186                 <Transform DEF='Shafttranslation='0 -0.3 0'>
187                      <Transform translation='0 -1.9167 0'>
188                           <Shape>
189                                <Cylinder height='4radius='0.1667'/>
190                                <Appearance>
191                                     <Material/>
192                                </Appearance>
193                           </Shape>
194                      </Transform>
195                      <Transform rotation='1 0 0 3.14translation='0 0.25 0'>
196                           <Shape>
197                                <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 1 1 1 1 1 1 1 0.95 0.95 0.88 0.88 0.76 0.76 0.48 0.48spine='0 0 0 0 0.1 0 0 0.2 0 0 0.3 0 0 0.4 0 0 0.5 0 0 0.6 0 0 0.7 0'/>
198                                <Appearance>
199                                     <Material diffuseColor='0.1 0.1 0.2'/>
200                                </Appearance>
201                           </Shape>
202                      </Transform>
203                      <Transform DEF='NoseConetranslation='0 0.25 0'>
204                           <Shape>
205                                <Appearance>
206                                     <Material diffuseColor='1 1 1'/>
207                                </Appearance>
208                                <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 1 1 1 1 1 1 1 0.95 0.95 0.88 0.88 0.76 0.76 0.48 0.48spine='0 0 0 0 0.1 0 0 0.2 0 0 0.3 0 0 0.4 0 0 0.5 0 0 0.6 0 0 0.7 0'/>
209                           </Shape>
210                      </Transform>
211                 </Transform>
212                 <Transform DEF='PropellorControlSurfaces'>
213                      <Transform rotation='0.58 0.58 0.58 2.09scale='4 1 1translation='-1 0.825 -1.75'>
214                           <Shape>
215                                <Appearance>
216                                     <Material diffuseColor='0.15 0.8 0.8'/>
217                                </Appearance>
218                                <Extrusion creaseAngle='1.785crossSection='0.1 0 0.03 0.028 -0.01 0.038 -0.04 0.035 -0.07 0.02 -0.08 0.01 -0.085 0 -0.08 -0.015 -0.04 -0.028 0 -0.021 0.03 -0.014 0.06 -0.008 0.1 0solid='falsespine='0 0 0 0 0.1667 0 0 0.333 0 0 0.4667 0 0 0.666 0 0 1 0 0 1.1667 0 0 1.333 0 0 1.666 0 0 3 0 0 3.5 0'/>
219                           </Shape>
220                      </Transform>
221                      <Transform rotation='0.58 0.58 0.58 2.09scale='4 1 1translation='1 0.825 -1.75'>
222                           <Shape>
223                                <Appearance>
224                                     <Material diffuseColor='0.15 0.8 0.8'/>
225                                </Appearance>
226                                <Extrusion creaseAngle='1.785crossSection='0.1 0 0.03 0.028 -0.01 0.038 -0.04 0.035 -0.07 0.02 -0.08 0.01 -0.085 0 -0.08 -0.015 -0.04 -0.028 0 -0.021 0.03 -0.014 0.06 -0.008 0.1 0solid='falsespine='0 0 0 0 0.1667 0 0 0.333 0 0 0.4667 0 0 0.666 0 0 1 0 0 1.1667 0 0 1.333 0 0 1.666 0 0 3 0 0 3.5 0'/>
227                           </Shape>
228                      </Transform>
229                 </Transform>
230            </Transform>
231            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='PropSpin' toField='set_fraction'/>
232            < ROUTE  fromNode='PropSpin' fromField='value_changed' toNode='Propellor' toField='rotation'/>
233       </Scene>
234  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, Cowling, Fan, Grate, NoGrate, NoseCone, Propellor, PropellorControlSurfaces, PropellorLOD, PropSpin, RearGrate, RearNoGrate, Shaft, SideOne, SideThree, SideTwo, Strut, StrutFive, StrutFour, StrutThree, StrutTwo, SurfaceOne, SurfaceTwo

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Cone, Coordinate, Cylinder, Extrusion, head, ImageTexture, IndexedFaceSet, LOD, 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)
Propellor
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://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/FanIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/Fan.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. -->