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='DDG51prop.x3d'/> |
6 | <meta name='description' content='Props and hub built in scale 1:1 in feet. Both shafts modeled to length of the longest shaft, shafts turn Inward.'/> |
7 | <meta name='creator' content='James Harney'/> |
8 | <meta name='created' content='1 August 2001'/> |
9 | <meta name='contributor' content='Josh Hansen'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='identifier' content='https://savage.nps.edu/Savage/ShipsMilitary/DD963SpruanceUnitedStates/DDG51prop.x3d'/> |
12 | <meta name='reference' content='www.usni.org/Proceedings/Articles01/PROphotocontest4.html'/> |
13 | <meta name='reference' content='www.fas.org/man/dod-101/sys/ship/ddg-51.html'/> |
14 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
15 | <meta name='license' content='../../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <WorldInfo title='DDG51prop.x3d'/> |
19 |
<!-- ROUTE information for STBDSHAFT node:
[from OI2.value_changed to set_rotation
]
-->
<Transform DEF='STBDSHAFT' scale='.3 .3 .3'> |
20 | <Group DEF='PROP'> |
21 | |
22 | <Shape> |
23 | <Appearance> |
24 | |
25 | </Appearance> |
26 | <Extrusion creaseAngle='.785' crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00' solid='false' spine='0.0 0.0 0.0 0.0 0.0 -3.29'/> |
27 | </Shape> |
28 | </Transform> |
29 | |
30 | <Shape> |
31 | <Appearance> |
32 | <Material USE='BRASS'/> |
33 | </Appearance> |
34 | <Extrusion creaseAngle='.785' crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00' scale='1.0 1.0 .8 .8 .4 .4 .4 .4' solid='false' spine='0.0 0.0 0.1 0.0 0.0 1.14 0.0 0.0 1.56 0.0 0.0 1.66'/> |
35 | </Shape> |
36 | </Transform> |
37 | <Transform rotation='1 0 0 -1.64'> |
38 | |
39 | <Transform rotation='0 0 1 -.349' scale='1 .1 1' translation='-2 2.25 0'> |
40 | <Shape> |
41 | <Appearance> |
42 | <Material USE='BRASS'/> |
43 | </Appearance> |
44 | <Extrusion creaseAngle='1.1' crossSection='2 .2 1.95 .5 1.9 1 1.95 1.5 2 2 2.1 1.5 2.1 3 2 3.5 1.75 4 1.65 4.5 .5 4.85 .4 5 .5 5.4 1 5.6 1.5 5.9 2 6 2.5 6.05 3 6.05 3.5 6.05 4 6.05 4.5 6 5 5.95 5.5 5.6 5.6 5.5 6 5.25 6.5 5 6.8 4.5 7.1 4 7.4 3.5 7.45 3 7.4 2.5 7.15 2 7 1.5 6.5 1.25 6 1 5.5 .95 5 .925 4.5 .85 4 .55 4 .45 3.5 .46 3 .5 2.5 .46 2 .2'/> |
45 | </Shape> |
46 | </Transform> |
47 | </Group> |
48 | </Transform> |
49 | <Transform rotation='1 0 0 -1.64'> |
50 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
51 | <Transform rotation='0 1 0 1.36'> |
52 | <Group USE='BLADE'/> |
53 | </Transform> |
54 | </Transform> |
55 | <Transform rotation='1 0 0 -1.64'> |
56 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
57 | <Transform rotation='0 1 0 2.72'> |
58 | <Group USE='BLADE'/> |
59 | </Transform> |
60 | </Transform> |
61 | <Transform rotation='1 0 0 -1.64'> |
62 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
63 | <Transform rotation='0 1 0 4.08'> |
64 | <Group USE='BLADE'/> |
65 | </Transform> |
66 | </Transform> |
67 | <Transform rotation='1 0 0 -1.64'> |
68 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
69 | <Transform rotation='0 1 0 5.44'> |
70 | <Group USE='BLADE'/> |
71 | </Transform> |
72 | </Transform> |
73 | <Transform> |
74 | <Shape> |
75 | <Appearance> |
76 | |
77 | </Appearance> |
78 | <Extrusion creaseAngle='.785' crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00' solid='false' spine='0.0 0.0 -3.3 0.0 0.0 -125.58'/> |
79 | </Shape> |
80 | </Transform> |
81 | </Group> |
82 | </Transform> |
83 |
<!-- ROUTE information for PORTSHAFT node:
[from MyOI.value_changed to set_rotation
]
-->
<Transform DEF='PORTSHAFT' scale='.3 .3 .3' translation='-4 0 0'> |
84 | <Group> |
85 | <Transform USE='HUB'/> |
86 | <Transform USE='BASE'/> |
87 | <Transform> |
88 | <Shape> |
89 | <Appearance> |
90 | <Material USE='RED'/> |
91 | </Appearance> |
92 | <Extrusion creaseAngle='.785' crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00' solid='false' spine='0.0 0.0 -3.3 0.0 0.0 -125.58'/> |
93 | </Shape> |
94 | </Transform> |
95 | <Group> |
96 | <Transform translation='0 0 -2.5'> |
97 | <Transform rotation='1 0 0 1.64'> |
98 | <Group USE='BLADE'/> |
99 | </Transform> |
100 | <Transform rotation='1 0 0 1.64'> |
101 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
102 | <Transform rotation='0 1 0 1.36'> |
103 | <Group USE='BLADE'/> |
104 | </Transform> |
105 | </Transform> |
106 | <Transform rotation='1 0 0 1.64'> |
107 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
108 | <Transform rotation='0 1 0 2.72'> |
109 | <Group USE='BLADE'/> |
110 | </Transform> |
111 | </Transform> |
112 | <Transform rotation='1 0 0 1.64'> |
113 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
114 | <Transform rotation='0 1 0 4.08'> |
115 | <Group USE='BLADE'/> |
116 | </Transform> |
117 | </Transform> |
118 | <Transform rotation='1 0 0 1.64'> |
119 | <!-- Approx 72 degrees of sep between the center of each blade as it touches the hub --> |
120 | <Transform rotation='0 1 0 5.44'> |
121 | <Group USE='BLADE'/> |
122 | </Transform> |
123 | </Transform> |
124 | </Transform> |
125 | </Group> |
126 | </Group> |
127 | </Transform> |
128 |
<!-- ROUTE information for MyClock node:
[from fraction_changed to MyOI.set_fraction
]
[from fraction_changed to OI2.set_fraction
]
-->
<TimeSensor DEF='MyClock' cycleInterval='2' loop='true'/> |
129 |
<!-- ROUTE information for MyOI node:
[from MyClock.fraction_changed to set_fraction
]
[from value_changed to PORTSHAFT.set_rotation
]
-->
<OrientationInterpolator DEF='MyOI' key='0 0.5 1' keyValue='0 0 1 0 0 0 1 -3.14 0 0 1 -6.28'/> |
130 | < ROUTE fromNode='MyClock' fromField='fraction_changed' toNode='MyOI' toField='set_fraction'/> |
131 | < ROUTE fromNode='MyOI' fromField='value_changed' toNode='PORTSHAFT' toField='set_rotation'/> |
132 |
<!-- ROUTE information for OI2 node:
[from MyClock.fraction_changed to set_fraction
]
[from value_changed to STBDSHAFT.set_rotation
]
-->
<OrientationInterpolator DEF='OI2' key='0 0.5 1' keyValue='0 0 1 -6.28 0 0 1 -3.14 0 0 1 0'/> |
133 | < ROUTE fromNode='MyClock' fromField='fraction_changed' toNode='OI2' toField='set_fraction'/> |
134 | < ROUTE fromNode='OI2' fromField='value_changed' toNode='STBDSHAFT' toField='set_rotation'/> |
135 | </Scene> |
136 | </X3D> |
<!--
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.
-->