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

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: CLOCK, GRAY, MAIN_ROTOR, MAIN_ROTOR_PATH, ROTOR_DISK_SHAPE, Rubber_boot, SEMI_TRANSPARENT_WHITE, SHAFT_SHAPE
-->
 15       <Scene>
 16            <WorldInfo title='RotorDisk.x3d'/>
 17            <Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.60 0.6skyAngle='0.785 1.571skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/>
 18            <Group>
 19 
               <!-- ROUTE information for MAIN_ROTOR node:  [from MAIN_ROTOR_PATH.value_changed to set_rotation ] -->
               <Transform DEF='MAIN_ROTOR'>
 20                      <!-- No rotation or translation, used to group for animation -->
 21                      <Transform>
 22                           <Shape DEF='SHAFT_SHAPE'>
 23                                <Appearance DEF='GRAY'>
 24                                     <Material diffuseColor='0.75 0.75 0.75'/>
 25                                </Appearance>
 26                                <Cylinder bottom='falseheight='1.50radius='0.08top='false'/>
 27                           </Shape>
 28                           <Transform translation='0 -.5 0'>
 29                                <Shape DEF='Rubber_boot'>
 30                                     <Cylinder height='.4radius='.14'/>
 31                                     <Appearance>
 32                                          <Material diffuseColor='0 0 0'/>
 33                                     </Appearance>
 34                                </Shape>
 35                                <Transform translation='0 .1 0'>
 36                                     <Shape>
 37                                          <Cylinder height='.3radius='.12'/>
 38                                          <Appearance>
 39                                               <Material diffuseColor='0 0 0'/>
 40                                          </Appearance>
 41                                     </Shape>
 42                                </Transform>
 43                                <Transform translation='0 .15 0'>
 44                                     <Shape>
 45                                          <Cylinder height='.3radius='.1'/>
 46                                          <Appearance>
 47                                               <Material diffuseColor='0 0 0'/>
 48                                          </Appearance>
 49                                     </Shape>
 50                                </Transform>
 51                                <Transform translation='0 -.05 0'>
 52                                     <Shape>
 53                                          <Cylinder height='.3radius='.16'/>
 54                                          <Appearance>
 55                                               <Material diffuseColor='0 0 0'/>
 56                                          </Appearance>
 57                                     </Shape>
 58                                </Transform>
 59                           </Transform>
 60                      </Transform>
 61                      <Transform>
 62                           <Shape DEF='ROTOR_DISK_SHAPE'>
 63                                <Appearance DEF='SEMI_TRANSPARENT_WHITE'>
 64                                     <Material diffuseColor='1.0 1.0 1.0transparency='0.5'/>
 65                                </Appearance>
 66                                <Cylinder height='0.04radius='5.5'/>
 67                           </Shape>
 68                      </Transform>
 69 
                    <!-- ROUTE information for CLOCK node:  [from fraction_changed to MAIN_ROTOR_PATH.set_fraction ] -->
                    <TimeSensor DEF='CLOCKcycleInterval='2.0loop='true'/>
 70 
                    <!-- ROUTE information for MAIN_ROTOR_PATH node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to MAIN_ROTOR.set_rotation ] -->
                    <OrientationInterpolator DEF='MAIN_ROTOR_PATHkey='0.0 1.0keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.142'/>
 71                 </Transform>
 72            </Group>
 73            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='MAIN_ROTOR_PATH' toField='set_fraction'/>
 74            < ROUTE  fromNode='MAIN_ROTOR_PATH' fromField='value_changed' toNode='MAIN_ROTOR' toField='set_rotation'/>
 75       </Scene>
 76  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: CLOCK, GRAY, MAIN_ROTOR, MAIN_ROTOR_PATH, ROTOR_DISK_SHAPE, Rubber_boot, SEMI_TRANSPARENT_WHITE, SHAFT_SHAPE
-->
X3D Tooltips element index: Appearance, Background, Cylinder, 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)
MAIN_ROTOR_PATH
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
MAIN_ROTOR_PATH
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
MAIN_ROTOR
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/OH58dKiowaWarriorUnitedStates/RotorDiskIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/RotorDisk.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. -->