#X3D V3.0 utf8 PROFILE Interchange # [X3D] version=3.0 # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.0.xsd # X3D-to-ClassicVRML XSL translation autogenerated by X3dToClassicVrmlEncoding.xslt and X3dToVrml97.xslt # https://www.web3d.org/x3d/content/X3dToClassicVrmlEncoding.xslt # https://www.web3d.org/x3d/content/X3dToVrml97.xslt # Transformation using XSLT processor: Saxonica # head META "title" "CH53eSimple.x3d" META "creator" "Jeff Lark" META "created" "20 September 2000" META "modified" "20 October 2019" META "description" "Simple helicopter model." META "identifier" "https://savage.nps.edu/Savage/AircraftHelicopters/CH53UnitedStates/CH53eSimple.x3d" META "generator" "X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit" META "license" "../../license.html" # [Scene] ========== ========== ========== WorldInfo { title "CH53eSimple.x3d" } Group { children [ Transform { rotation 1 0 0 -1.57 translation 0 5 0 children [ Group { children [ DEF Rotor_System Transform { children [ DEF RotorBlade Transform { scale 9 0.65 0.2 translation 15 0.2 0 children [ DEF Blade1 Shape { geometry Box { } appearance Appearance { material Material { diffuseColor 0.5 0.3 0.8 } } } DEF Blade_Root Transform { rotation 0 0 1 1.5702 scale 0.7 0.4 0.4 translation -1. 0.2 0 children [ DEF BladeRoot Shape { geometry Cylinder { height 0.7 } appearance Appearance { material Material { emissiveColor 0.5 0.5 0.5 } } } ] } ] } DEF Blade2 Transform { rotation 0 0 1 0.8 children [ USE RotorBlade ] } DEF Blade3 Transform { rotation 0 0 1 1.79 children [ USE RotorBlade ] } DEF Blade4 Transform { rotation 0 0 1 2.69 children [ USE RotorBlade ] } DEF Blade5 Transform { rotation 0 0 1 3.59 children [ USE RotorBlade ] } DEF Blade6 Transform { rotation 0 0 1 4.48 children [ USE RotorBlade ] } DEF Blade7 Transform { rotation 0 0 1 5.48 children [ USE RotorBlade ] } Transform { children [ DEF RotorHub Transform { rotation 1 0 0 1.5702 children [ Shape { geometry Cylinder { height 1.5 radius 4.6 } appearance Appearance { material Material { } } } Transform { translation 0 1.5 0 children [ Shape { geometry Cone { bottomRadius 4 height 1 } appearance Appearance { material Material { diffuseColor 0.4 0.6 0.5 } } } ] } ] } DEF RotorMast Transform { rotation 1 0 0 1.5702 translation 0 0 -1 children [ Shape { geometry Cylinder { height 4 radius 0.8 } appearance Appearance { material Material { emissiveColor 0.5 0.7 0.3 } } } ] } ] } ] } DEF TailRotor Transform { rotation 1 0 0 1.57 translation 4.5 34 2.5 children [ # Tail rotor and blades 1/4 size MR and rotated -20 deg in Z axis DEF Tail_Blade Transform { rotation 0 0 1 1.5702 scale 0.25 0.25 0.25 children [ USE RotorBlade ] } Transform { rotation 0 0 1 3.14 scale 0.25 0.25 0.25 children [ USE RotorBlade ] } Transform { rotation 0 0 1 4.71 scale 0.25 0.25 0.25 children [ USE RotorBlade ] } Transform { scale 0.25 0.25 0.25 children [ USE RotorBlade ] } DEF Tail_Hub Transform { children [ Transform { scale 0.25 0.25 0.25 children [ USE RotorBlade ] } ] } ] } DEF Fuselage_Pylons Transform { children [ Transform { translation 0 -13. -5.6 children [ Shape { geometry Sphere { radius 2 } appearance Appearance { material Material { diffuseColor 0.8 0.8 0.5 emissiveColor 0 0 1 shininess 0.25 transparency 0.05 } } } ] } Transform { rotation 1 0 0 1.5702 scale 1.8 1.2 7 translation 0 4.8 -7.2 children [ Shape { geometry Sphere { radius 3 } appearance Appearance { material Material { diffuseColor 0.2 0.4 0.8 } } } ] } DEF Main_Tail_Pylon Transform { translation 0 .5 0 children [ Transform { scale 0.7 1 0.3 translation 0 9 -4.5 children [ DEF Pylon Shape { geometry Cylinder { height 45 radius 4 } appearance Appearance { material Material { } } } ] } Transform { rotation 0 1 0 0.39 translation 1.7 0 0 children [ Transform { rotation 1 0 0 .95 scale 0.3 0.2 .4 translation 0 33 -1 children [ USE Pylon ] } ] } ] } ] } Transform { children [ DEF Engines Transform { children [ Transform { translation 5 0 -3 children [ DEF Engine Shape { geometry Cylinder { height 10 radius 0.8 } appearance Appearance { material Material { } } } ] } DEF Engine2 Transform { translation 3.5 3 -2 children [ USE Engine ] } DEF Engine3 Transform { translation -5 0 -3 children [ USE Engine ] } ] } ] } ] } ] } # Able to get the right orientation by making my original group a child to a senior group. Need to change the orientation of viewpoint because they are now part of the parent group Tried playing with "inlines" but was geting parsing errors Rotation for tail-when rotation applied, the tail was somehow oriented in the same plane as the main rotor. ] } Background { groundAngle [ 1.309 1.5702 ] groundColor [ 0.1 0.1 0.0 0.4 .25 .2 .6 .60 .6 ] skyAngle [ 1.309 1.571 ] skyColor [ 0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0 ] } DEF Front Viewpoint { description "Front" orientation 1 0 0 .1 position 0 0 60 } DEF Bottom Viewpoint { description "Bottom" fieldOfView 0.985398 orientation 1 0 0 1.57 position 0 -70 7 } DEF Left_Side Viewpoint { description "Left_Side" orientation 0 1 0 1.57 position 60 0 0 } ### Hint: description attribute can contain whitespace instead of _underscore_ characters: description='Left_Side' DEF Clock TimeSensor { loop TRUE } DEF SpinRotor OrientationInterpolator { key [ 0.0 0.5 1.0 ] keyValue [ 0 0 1 0.0 0 0 1 3.14 0 0 1 6.28 ] } DEF SpinTail OrientationInterpolator { key [ 0.0 0.5 1.0 ] keyValue [ 0 0 1 0.0 0 0 1 3.14 0 0 1 6.28 ] } ROUTE Clock.fraction_changed TO SpinRotor.set_fraction ROUTE Clock.fraction_changed TO SpinTail.set_fraction ROUTE SpinRotor.value_changed TO Rotor_System.set_rotation ROUTE SpinTail.value_changed TO TailRotor.set_rotation