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='title' content=' RotorHead.x3d '/> |
6 | <meta name='creator' content='Michael Collins'/> |
7 | <meta name='contributor' content='LT Terry D. Norbraten, USN'/> |
8 | <meta name='created' content='10 March 2001'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='description' content='A SH60F main rotorhead containing four main rotor blades, a central capping structure, central rotor mast and four pitch-control rods.'/> |
11 | <meta name=' warning ' content=' units in feet '/> |
12 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
13 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/RotorHead.x3d '/> |
14 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ac/sh-60.htm '/> |
15 | <meta name='license' content='../../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <NavigationInfo speed='300'/> |
19 | <Background groundAngle='1.309 1.570796' groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6' skyAngle='1.309 1.571' skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/> |
20 | <!-- lower-resolution rotor transitions at 1, 10 km --> |
21 | <LOD range='3048 30480'> |
22 |
<!-- ROUTE information for RotorHead node:
[from RotorPath.value_changed to set_rotation
]
-->
<Transform DEF='RotorHead'> |
23 | <Group> |
24 | <!-- Blades were oriented incorrectly. Flipped them over 180 degress to correct orientation. TDN --> |
25 | <Transform rotation='1 0 0 -1.571' translation='-19 0 1'> |
26 |
<!-- Inline
MainRotorBlade is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 --> <Inline DEF='MainRotorBlade' url=' "MainRotorBlade.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/MainRotorBlade.x3d" "MainRotorBlade.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/MainRotorBlade.wrl" '/> |
27 | <Transform rotation='0 0 1 3.142' translation='38 2 0'> |
28 | <Inline USE='MainRotorBlade'/> |
29 | </Transform> |
30 | <Transform rotation='0 0 1 4.713' translation='18 20 0'> |
31 | <Inline USE='MainRotorBlade'/> |
32 | </Transform> |
33 | <Transform rotation='0 0 1 1.571' translation='20 -18 0'> |
34 | <Inline USE='MainRotorBlade'/> |
35 | </Transform> |
36 | </Transform> |
37 | <Transform translation='0 -.8 0'> |
38 | <Shape> |
39 | <Cylinder radius='.5'/> |
40 | <Appearance> |
41 | <Material/> |
42 | </Appearance> |
43 | </Shape> |
44 | <Transform translation='0 -1 0'> |
45 | <Shape> |
46 | <Cylinder height='.2' radius='2.0'/> |
47 | <Appearance> |
48 | <Material/> |
49 | </Appearance> |
50 | </Shape> |
51 | </Transform> |
52 | <Transform translation='1.5 0 0'> |
53 | <Shape> |
54 | <Cylinder radius='.1'/> |
55 | <Appearance> |
56 | <Material/> |
57 | </Appearance> |
58 | </Shape> |
59 | </Transform> |
60 | <Transform translation='-1.5 0 0'> |
61 | <Shape> |
62 | <Cylinder radius='.1'/> |
63 | <Appearance> |
64 | <Material/> |
65 | </Appearance> |
66 | </Shape> |
67 | </Transform> |
68 | <Transform translation='0 0 1.5'> |
69 | <Shape> |
70 | <Cylinder radius='.1'/> |
71 | <Appearance> |
72 | <Material/> |
73 | </Appearance> |
74 | </Shape> |
75 | </Transform> |
76 | <Transform translation='0 0 -1.5'> |
77 | <Shape> |
78 | <Cylinder radius='.1'/> |
79 | <Appearance> |
80 | <Material/> |
81 | </Appearance> |
82 | </Shape> |
83 | </Transform> |
84 | </Transform> |
85 | <Transform translation='-2 .3 -2'> |
86 | <Inline url=' "Head.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/Head.x3d" "Head.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/Head.wrl" '/> |
87 | </Transform> |
88 | </Group> |
89 |
<!-- ROUTE information for Clock node:
[from fraction_changed to RotorPath.set_fraction
]
-->
<TimeSensor DEF='Clock' cycleInterval='.3' loop='true'> |
90 | <!-- Added a cycleInterval and set to .3 to simulate a realistic spinning rotor- head. TDN --> |
91 | </TimeSensor> |
92 |
<!-- ROUTE information for RotorPath node:
[from Clock.fraction_changed to set_fraction
]
[from value_changed to RotorHead.set_rotation
]
-->
<OrientationInterpolator DEF='RotorPath' key='0.0 0.50 1.0' keyValue='0.0 1.0 0.0 -6.28 0.0 1.0 0.0 -3.14 0.0 1.0 0.0 0.00'> |
93 | <!-- Changed keyValues to negative to get the rotorhead to spin in the correct direction. TDN --> |
94 | </OrientationInterpolator> |
95 | </Transform> |
96 | <Transform> |
97 | <Shape> |
98 | <Cylinder height='1' radius='17'/> |
99 | <Appearance> |
100 | <Material transparency='0.8'/> |
101 | </Appearance> |
102 | </Shape> |
103 | </Transform> |
104 | <WorldInfo info='"null node"'/> |
105 | </LOD> |
106 | < ROUTE fromNode='Clock' fromField='fraction_changed' toNode='RotorPath' toField='set_fraction'/> |
107 | < ROUTE fromNode='RotorPath' fromField='value_changed' toNode='RotorHead' toField='set_rotation'/> |
108 | </Scene> |
109 | </X3D> |
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 |
RotorPath
OrientationInterpolator set_fraction SFFloat |
then
|
RotorPath
OrientationInterpolator value_changed SFRotation |
RotorHead
Transform set_rotation SFRotation |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->