X3D Model Documentation: RearRightWheel.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=' RearRightWheel.x3d '/>
  6            <meta name='descriptioncontent='F16 landing gear rear wheels'/>
  7            <meta name='creatorcontent='Etsuko Lippi'/>
  8            <meta name='translatorcontent='Murat ONDER, LTJG, Turkish Navy'/>
  9            <meta name='createdcontent='19 July 2001'/>
 10            <meta name='modifiedcontent='28 November 2019'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/RearRightWheel.x3d '/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AssistantAxleColor, AxleColor, black1, Clock, Hub, inside_wheel, joint, JointsAxisAndAssistants, JointsAxisAndAssistantsTest, RearAxles, wheel, WheelInterpolator, WheelsRearAxleTransform, WheelsRearTransform, WheelTouchSensor, WheelTransform, white1
-->
 14       <Scene>
 15            <WorldInfo title='RearRightWheel.x3d'/>
 16            <Group>
 17                 <Transform DEF='WheelsRearTransformcenter='0 3.7 0rotation='0 1 0 -1.57'>
 18                      <Transform DEF='WheelsRearAxleTransformcenter='-0.03 0.25 1.735'>
 19                           <Group>
 20                                <!-- wheels axis connecting to fuselage -->
 21 
                              <!-- ROUTE information for WheelTransform node:  [from WheelInterpolator.value_changed to set_rotation ] -->
                              <Transform DEF='WheelTransformscale='1.2 1.2 1.2'>
 22                                     <Transform scale='0.3 0.3 0.3'>
 23                                          <Transform rotation='0 1 0 1.571'>
 24                                               <Shape DEF='wheel'>
 25                                                    <Appearance>
 26                                                         <Material DEF='black1diffuseColor='0 0 0shininess='0.125specularColor='0.2 0.2 0.2'/>
 27                                                    </Appearance>
 28                                                    <Extrusion creaseAngle='3.14crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 29                                               </Shape>
 30                                               <Shape DEF='inside_wheel'>
 31 
                                                  <!-- Appearance white1 is a DEF node that has 1 USE node: USE_1 -->
                                                  <Appearance DEF='white1'>
 32                                                         <Material diffuseColor='1 1 1'/>
 33                                                    </Appearance>
 34                                                    <Extrusion crossSection='0.00 1.30 0.10 1.30 0.10 0.00 0.10 -1.30 0.00 -1.30 0.00 0.00 0.00 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 35                                               </Shape>
 36                                          </Transform>
 37                                          <Transform rotation='0 1 0 1.571'>
 38                                               <Shape>
 39                                                    <Appearance USE='white1'/>
 40                                                    <Extrusion crossSection='-0.10 1.30 0.00 1.30 0.00 0.00 0.00 -1.30 -0.10 -1.30 -0.10 0.00 -0.10 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 41                                               </Shape>
 42                                          </Transform>
 43                                          <Transform rotation='0 1 0 1.571'>
 44                                               <Shape>
 45                                                    <Appearance>
 46                                                         <Material diffuseColor='0 0.25 0.5'/>
 47                                                    </Appearance>
 48                                                    <Extrusion crossSection='-0.30 1.30 -0.10 1.30 -0.10 0.00 -0.10 -1.30 -0.30 -1.30 -0.30 0.00 -0.30 1.30spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/>
 49                                               </Shape>
 50                                          </Transform>
 51                                     </Transform>
 52                                     <Transform translation='0 0 0.30'>
 53 
                                        <!-- Inline Hub is a DEF node that has 1 USE node: USE_1 -->
                                        <Inline DEF='Hub'   url=' "Hub.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/Hub.x3d" "Hub.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/Hub.wrl" '/>
 54                                     </Transform>
 55                                     <Transform translation='0 0 -0.30'>
 56                                          <Inline USE='Hub'/>
 57                                     </Transform>
 58 
                                   <!-- ROUTE information for WheelTouchSensor node:  [from isOver to Clock.set_enabled ] -->
                                   <TouchSensor DEF='WheelTouchSensordescription='When the mouse comes onto the wheel wheel starts to turn.'/>
 59 
                                   <!-- ROUTE information for Clock node:  [from WheelTouchSensor.isOver to set_enabled ] [from fraction_changed to WheelInterpolator.set_fraction ] -->
                                   <TimeSensor DEF='ClockcycleInterval='0.5enabled='falseloop='true'/>
 60 
                                   <!-- ROUTE information for WheelInterpolator node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to WheelTransform.set_rotation ] -->
                                   <OrientationInterpolator DEF='WheelInterpolatorkey='0 0.5 1.0keyValue='0 0 1 0.0 0 0 1 3.14 0 0 1 6.28'/>
 61                                     < ROUTE  fromNode='WheelTouchSensor' fromField='isOver' toNode='Clock' toField='set_enabled'/>
 62                                     < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='WheelInterpolator' toField='set_fraction'/>
 63                                     < ROUTE  fromNode='WheelInterpolator' fromField='value_changed' toNode='WheelTransform' toField='set_rotation'/>
 64                                </Transform>
 65                           </Group>
 66                           <Group>
 67                                <Transform DEF='JointsAxisAndAssistantsTest'>
 68                                     <Group DEF='JointsAxisAndAssistants'>
 69                                          <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.1 0.1 0.1translation='0 0.15 1.55'>
 70                                               <!-- Joint center -->
 71                                               <Shape>
 72 
                                                  <!-- Appearance AxleColor is a DEF node that has 7 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7 -->
                                                  <Appearance DEF='AxleColor'>
 73                                                         <Material ambientIntensity='0.3diffuseColor='0.3 0.3 0.3shininess='0.20specularColor='0.50 0.50 0.60'/>
 74                                                    </Appearance>
 75 
                                                  <!-- Extrusion joint is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                                  <Extrusion DEF='jointcreaseAngle='2.5crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30 -.494 -1.196 -.923 -.923 -1.196 -.494 -1.30 -0.00 -1.196 .494 -.923 .923 -.494 1.196 0.00 1.30spine='-2.5 1.5 0 -2.5 1 0 -2 0 0 -2 0 0 -1.5 -1 0 -0.5 -1.5 0 0.5 -1.5 0 1.5 -1.5 0 2 -1.0 0'/>
 76                                               </Shape>
 77                                          </Transform>
 78                                          <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.07 0.07 0.07translation='0.30 0.15 1.55'>
 79                                               <!-- Joint side -->
 80                                               <Shape>
 81                                                    <Appearance USE='AxleColor'/>
 82                                                    <Extrusion USE='joint'/>
 83                                               </Shape>
 84                                          </Transform>
 85                                          <Transform rotation='-0.13 0.98 -0.13 1.59scale='0.07 0.07 0.07translation='-0.30 0.15 1.55'>
 86                                               <!-- Joint side -->
 87                                               <Shape>
 88                                                    <Appearance USE='AxleColor'/>
 89                                                    <Extrusion USE='joint'/>
 90                                               </Shape>
 91                                          </Transform>
 92                                          <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 0.5'>
 93                                               <!-- Wheel connected axis. (black) -->
 94                                               <Shape>
 95                                                    <Appearance USE='AxleColor'/>
 96                                                    <Cylinder height='1.0radius='0.1'/>
 97                                               </Shape>
 98                                          </Transform>
 99                                          <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 0.65'>
100                                               <!-- The second axis. (black) -->
101                                               <Shape>
102                                                    <Appearance USE='AxleColor'/>
103                                                    <Cylinder height='0.4radius='0.25'/>
104                                               </Shape>
105                                          </Transform>
106                                          <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0 0 1.1'>
107                                               <!-- assistant axle for rear wheel(white) -->
108                                               <Shape>
109 
                                                  <!-- Appearance AssistantAxleColor is a DEF node that has 7 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7 -->
                                                  <Appearance DEF='AssistantAxleColor'>
110                                                         <Material diffuseColor='1.0 1.0 1.0'/>
111                                                    </Appearance>
112                                                    <Cylinder height='1radius='0.3'/>
113                                               </Shape>
114                                          </Transform>
115                                          <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='0.3 0 1.1'>
116                                               <!-- assistant axle for rear wheel(white) -->
117                                               <Shape>
118                                                    <Appearance USE='AssistantAxleColor'/>
119                                                    <Cylinder height='1radius='0.3'/>
120                                               </Shape>
121                                          </Transform>
122                                          <Transform rotation='1 0 0 1.57scale='0.7 0.7 0.7translation='-0.3 0 1.1'>
123                                               <!-- assistant axle for rear wheel(white) -->
124                                               <Shape>
125                                                    <Appearance USE='AssistantAxleColor'/>
126                                                    <Cylinder height='1radius='0.3'/>
127                                               </Shape>
128                                          </Transform>
129                                     </Group>
130                                </Transform>
131                           </Group>
132                      </Transform>
133                      <Transform>
134                           <Group DEF='RearAxles'>
135                                <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0 1.05 2.15'>
136                                     <!-- main axle for rear wheels (white) -->
137                                     <Shape>
138                                          <Appearance USE='AssistantAxleColor'/>
139                                          <Box size='0.5 3 0.5'/>
140                                     </Shape>
141                                </Transform>
142                                <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0.3 0.8 2'>
143                                     <!-- assistant axle for rear wheel (white) -->
144                                     <Shape>
145                                          <Appearance USE='AssistantAxleColor'/>
146                                          <Cylinder radius='0.2'/>
147                                     </Shape>
148                                </Transform>
149                                <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='0.3 1.5 2.3'>
150                                     <!-- assistant axle for rear wheel (white) -->
151                                     <Shape>
152                                          <Appearance USE='AssistantAxleColor'/>
153                                          <Cylinder radius='0.3'/>
154                                     </Shape>
155                                </Transform>
156                                <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='-0.3 0.8 2'>
157                                     <!-- assistant axle for rear wheel (white) -->
158                                     <Shape>
159                                          <Appearance USE='AssistantAxleColor'/>
160                                          <Cylinder radius='0.2'/>
161                                     </Shape>
162                                </Transform>
163                                <Transform rotation='1 0 0 0.44scale='0.7 0.7 0.7translation='-0.3 1.5 2.3'>
164                                     <!-- assistant axle for rear wheel (white) -->
165                                     <Shape>
166                                          <Appearance USE='AssistantAxleColor'/>
167                                          <Cylinder radius='0.3'/>
168                                     </Shape>
169                                </Transform>
170                                <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='-0.3 0.2 1.72'>
171                                     <!-- assistant axis under axle (black) -->
172                                     <Shape>
173                                          <Appearance USE='AxleColor'/>
174                                          <Cylinder height='0.7radius='0.2'/>
175                                     </Shape>
176                                </Transform>
177                                <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='0 0.2 1.72'>
178                                     <!-- assistant axis under axle (black) -->
179                                     <Shape>
180                                          <Appearance USE='AxleColor'/>
181                                          <Cylinder height='0.7radius='0.2'/>
182                                     </Shape>
183                                </Transform>
184                                <Transform rotation='1 0 0 0.44scale='0.5 0.5 0.5translation='0.3 0.2 1.72'>
185                                     <!-- assistant axis under axle (black) -->
186                                     <Shape>
187                                          <Appearance USE='AxleColor'/>
188                                          <Cylinder height='0.7radius='0.2'/>
189                                     </Shape>
190                                </Transform>
191                           </Group>
192                      </Transform>
193                 </Transform>
194            </Group>
195       </Scene>
196  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AssistantAxleColor, AxleColor, black1, Clock, Hub, inside_wheel, joint, JointsAxisAndAssistants, JointsAxisAndAssistantsTest, RearAxles, wheel, WheelInterpolator, WheelsRearAxleTransform, WheelsRearTransform, WheelTouchSensor, WheelTransform, white1
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Extrusion, Group, head, Inline, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, TouchSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 3 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.

WheelTouchSensor
TouchSensor
isOver
SFBool

ROUTE
event to
(1)
Clock
TimeSensor
set_enabled
SFBool
then
 
 
 
Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
WheelInterpolator
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
WheelInterpolator
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
WheelTransform
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/AircraftFixedWing/F16FightingFalconTurkey/RearRightWheelIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/RearRightWheel.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. -->