X3D Model Documentation: TailRotor.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=' TailRotor.x3d '/>
  6            <meta name='descriptioncontent='This file defines a tail rotor that is inlined to create the tail boom of a helicopter'/>
  7            <meta name='creatorcontent='Jane Wu (adapted from the original tailrotor2.wrl created for vrtp demo helicopter)'/>
  8            <meta name='createdcontent='8 January 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/TailRotor.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, TailRotor, TailRotorPath
-->
 14       <Scene>
 15            <WorldInfo title='TailRotor.x3d'/>
 16            <Group>
 17 
               <!-- ROUTE information for TailRotor node:  [from TailRotorPath.value_changed to set_rotation ] -->
               <Transform DEF='TailRotor'>
 18                      <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 0.0 -0.14'>
 19                           <Shape>
 20                                <Appearance>
 21                                     <Material diffuseColor='0.75 0.75 0.75'/>
 22                                </Appearance>
 23                                <Cylinder height='0.35radius='0.02'/>
 24                           </Shape>
 25                      </Transform>
 26                      <Transform translation='-0.05 0.0 0.0'>
 27 
                         <!-- Shape Blade is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='Blade'>
 28                                <Appearance>
 29                                     <Material diffuseColor='0.2 0.2 0.2'/>
 30                                </Appearance>
 31                                <Extrusion creaseAngle='0.8crossSection='0.00 0.00 0.03 -0.005 0.05 -0.007 0.07 -0.009 0.09 -0.01 0.11 -0.009 0.12 -0.007 0.13 -0.005 0.135 0.0 0.13 0.005 0.12 0.007 0.11 0.009 0.09 0.01 0.07 0.009 0.05 0.007 0.03 0.005 0 0solid='falsespine='-0.015 0.02 0.0 -0.015 0.82 0.0'/>
 32                           </Shape>
 33                      </Transform>
 34                      <Transform rotation='1 0 0 3.14translation='0.05 0 0'>
 35                           <Transform rotation='0 1 0 3.14'>
 36                                <Shape USE='Blade'/>
 37                           </Transform>
 38                      </Transform>
 39                 </Transform>
 40 
               <!-- ROUTE information for Clock node:  [from fraction_changed to TailRotorPath.set_fraction ] -->
               <TimeSensor DEF='Clockloop='true'/>
 41 
               <!-- ROUTE information for TailRotorPath node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to TailRotor.set_rotation ] -->
               <OrientationInterpolator DEF='TailRotorPathkey='0.0 0.25 0.5 0.75 1.0keyValue='0.00 0.00 1.00 0.00 0.00 0.00 1.00 1.57 0.00 0.00 1.00 3.14 0.00 0.00 1.00 4.712 0.00 0.00 1.00 6.284'/>
 42            </Group>
 43            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='TailRotorPath' toField='set_fraction'/>
 44            < ROUTE  fromNode='TailRotorPath' fromField='value_changed' toNode='TailRotor' toField='set_rotation'/>
 45       </Scene>
 46  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Blade, Clock, TailRotor, TailRotorPath
-->
X3D Tooltips element index: Appearance, Cylinder, 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 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)
TailRotorPath
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
TailRotorPath
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://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/TailRotorIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/TailRotor.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. -->