package Savage.AircraftHelicopters.MH53ESeaDragonUnitedStates; /* Copyright (c) 1995-2019 held by the author(s). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Web3D Consortium (http://www.web3D.org) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ import java.util.*; import org.web3d.x3d.jsail.Core.*; import org.web3d.x3d.jsail.fields.*; import org.web3d.x3d.jsail.Geometry2D.*; import org.web3d.x3d.jsail.Geometry3D.*; import org.web3d.x3d.jsail.Grouping.*; import org.web3d.x3d.jsail.Navigation.*; import org.web3d.x3d.jsail.Rendering.*; import org.web3d.x3d.jsail.Shape.*; import org.web3d.x3d.jsail.Texturing.*; // Javadoc annotations follow, see below for source. /** *

MH-53E fuselage body created by extrusion. Notice the 20 degreee to port cantation of the tail pylon. Dimensions in proportion with fuselage.

Related links: MH53EFuselage.java source, MH53EFuselage catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

meta tags   Document Metadata
title MH53EFuselage.x3d
description MH-53E fuselage body created by extrusion. Notice the 20 degreee to port cantation of the tail pylon. Dimensions in proportion with fuselage.
creator LT Terry D. Norbraten, USN
created 15 March 2004
modified 12 January 2014
version 1.0
reference http://www.fas.org/man/dod-101/sys/ac/h-53.htm
Image http://www.fas.org/man/dod-101/sys/ac/mh-53e-wasp-dr5.jpg http://images.google.com/imgres?imgurl=gra.midco.net/mlgould/Helicopters/MH-53E%2520Sea%2520Dragon.jpg&imgrefurl=http://gra.midco.net/mlgould/M-R.html&h=226&w=332&sz=32&tbnid=ICDN8Yoa8mAJ:&tbnh=78&tbnw=114&prev=/images%3Fq%3DMH-53E%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26c2coff%3D1 http://www.history.navy.mil/planes/mh-53e.jpg http://digilander.libero.it/31ATSG/MH-53E%20163057-41.jpg http://www.ndu.edu/nwc/nwcCLIPART/US_NAVY/Equipment/Helicopters/MH-53E(Sea-Dragon)/MH53ESeaDragon01.jpg
subject MH-53E Sea Dragon Fuselage
identifier https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EFuselage.x3d
generator X3D-Edit, http://www.web3d.org/x3d/translation/README.X3D-Edit.html
license ../../license.html
 

This program uses the X3D Java Scene Access Interface Library (X3DJSAIL). It has been produced using the X3dToJava.xslt stylesheet to create Java source code from an .x3d model.

* @author LT Terry D. Norbraten, USN */ public class MH53EFuselage { /** Default constructor to create this object. */ public MH53EFuselage () { initialize(); } /** Create and initialize the X3D model for this object. */ public final void initialize() { x3dModel = new X3DObject().setProfile(X3DObject.PROFILE_IMMERSIVE).setVersion(X3DObject.VERSION_3_0) .setHead(new headObject() .addMeta(new metaObject().setName(metaObject.NAME_TITLE ).setContent("MH53EFuselage.x3d")) .addMeta(new metaObject().setName(metaObject.NAME_DESCRIPTION).setContent("MH-53E fuselage body created by extrusion. Notice the 20 degreee to port cantation of the tail pylon. Dimensions in proportion with fuselage.")) .addMeta(new metaObject().setName(metaObject.NAME_CREATOR ).setContent("LT Terry D. Norbraten, USN")) .addMeta(new metaObject().setName(metaObject.NAME_CREATED ).setContent("15 March 2004")) .addMeta(new metaObject().setName(metaObject.NAME_MODIFIED ).setContent("12 January 2014")) .addMeta(new metaObject().setName(metaObject.NAME_VERSION ).setContent("1.0")) .addMeta(new metaObject().setName(metaObject.NAME_REFERENCE ).setContent("http://www.fas.org/man/dod-101/sys/ac/h-53.htm")) .addMeta(new metaObject().setName(metaObject.NAME_IMAGE ).setContent("http://www.fas.org/man/dod-101/sys/ac/mh-53e-wasp-dr5.jpg http://images.google.com/imgres?imgurl=gra.midco.net/mlgould/Helicopters/MH-53E%2520Sea%2520Dragon.jpg&imgrefurl=http://gra.midco.net/mlgould/M-R.html&h=226&w=332&sz=32&tbnid=ICDN8Yoa8mAJ:&tbnh=78&tbnw=114&prev=/images%3Fq%3DMH-53E%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26c2coff%3D1 http://www.history.navy.mil/planes/mh-53e.jpg http://digilander.libero.it/31ATSG/MH-53E%20163057-41.jpg http://www.ndu.edu/nwc/nwcCLIPART/US_NAVY/Equipment/Helicopters/MH-53E(Sea-Dragon)/MH53ESeaDragon01.jpg")) .addMeta(new metaObject().setName(metaObject.NAME_SUBJECT ).setContent("MH-53E Sea Dragon Fuselage")) .addMeta(new metaObject().setName(metaObject.NAME_IDENTIFIER ).setContent("https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH53EFuselage.x3d")) .addMeta(new metaObject().setName(metaObject.NAME_GENERATOR ).setContent("X3D-Edit, http://www.web3d.org/x3d/translation/README.X3D-Edit.html")) .addMeta(new metaObject().setName(metaObject.NAME_LICENSE ).setContent("../../license.html"))) .setScene(new SceneObject() .addChild(new GroupObject("Fuselage") .addChild(new TransformObject().setScale(1.0f,.9f,.89f).setTranslation(0.0f,.98f,-1.48f) .addChild(new ShapeObject("Upper") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setCreaseAngle(.9f).setCrossSection(new MFVec2fObject(new float[] {-.0335749f,-1.53357f,-.533575f,-1.53357f,-.533575f,4.86643f,-.422015f,4.91448f,-.335685f,4.93258f,-.271015f,4.93358f,-.210305f,4.92333f,-.153585f,4.90246f,-.100895f,4.87162f,-.0407649f,4.82007f,.022895f,4.74077f,.085265f,4.627f,.151745f,4.43139f,.166425f,4.36643f,.334615f,3.7039f,.441255f,2.98398f,.466425f,1.66643f,.302505f,-.169395f,-.0335749f,-1.53357f})).setSpine(new MFVec3fObject(new float[] {.5f,.5f,0.0f,-.5f,.5f,0.0f}))))) .addChild(new ShapeObject("Main") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setBeginCap(false).setCreaseAngle(.628f).setCrossSection(new MFVec2fObject(new float[] {.8f,.8f,1.0f,.6f,1.0f,-.8f,.8f,-1.0f,-.8f,-1.0f,-1.0f,-.8f,-1.0f,.6f,-.8f,.8f,-.55048f,.955001f,.571611f,.946369f,.8f,.8f})).setEndCap(false).setSolid(false).setSpine(new MFVec3fObject(new float[] {0.0f,0.0f,2.85f,0.0f,0.0f,-2.85f})))) .addChild(new TransformObject("Cockpit").setTranslation(0.0f,-0.4f,3.55f) .addChild(new ShapeObject() .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setCreaseAngle(1.05f).setCrossSection(new MFVec2fObject(new float[] {.8f,1.2f,1.0f,1.0f,1.0f,-.4f,.8f,-.6f,-.8f,-.6f,-1.0f,-.4f,-1.0f,1.0f,-.8f,1.2f,-.55048f,1.355f,.571611f,1.34637f,.8f,1.2f})).setEndCap(false).setScale(new MFVec2fObject(new float[] {.1f,.1f,.3109f,.3109f,.3931f,.3931f,.46f,.46f,.5217f,.5217f,.5886f,.5886f,.6606f,.6606f,.748f,.748f,.8663f,.8663f,1.0f,1.0f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {0.0f,0.0f,.8f,0.0f,0.0f,.75011f,0.0f,0.0f,.711045f,0.0f,0.0f,.663734f,0.0f,0.0f,.604192f,0.0f,0.0f,.518998f,0.0f,0.0f,.399016f,0.0f,0.0f,.207394f,0.0f,0.0f,-.146099f,0.0f,0.0f,-.7f})))) .addChild(new TransformObject("CockpitImage").setScale(0.99f,0.99f,0.99f).setTranslation(0.0f,0.0f,-0.7f) .addChild(new ShapeObject() .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f)) .setTexture(new ImageTextureObject().setUrl(new String[] {"MH-53ECockpit.jpg","https://savage.nps.edu/Savage/AircraftHelicopters/MH53ESeaDragon-UnitedStates/MH-53ECockpit.jpg"})) .setTextureTransform(new TextureTransformObject().setScale(-1.0f,1.0f).setTranslation(-.986f,.0125f))) .setGeometry(new ExtrusionObject().setBeginCap(false).setCreaseAngle(1.05f).setCrossSection(new MFVec2fObject(new float[] {.8f,1.2f,1.0f,1.0f,1.0f,-.4f,.8f,-.6f,-.8f,-.6f,-1.0f,-.4f,-1.0f,1.0f,-.8f,1.2f,-.55048f,1.355f,.571611f,1.34637f,.8f,1.2f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {0.0f,.00612245f,-.693878f,0.0f,.00612245f,-.706122f})))))) .addChild(new TransformObject("GunnersWindow").setRotation(0.0f,1.0f,0.0f,1.571f).setTranslation(1.0005f,0.0f,2.3f) .addChild(new ShapeObject("Windscreen") .setGeometry(new Rectangle2DObject().setSize(0.4f,0.6f)) .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(0.0f,0.0f,0.0f).setShininess(.5f))))) .addChild(new TransformObject("PortMid").setScale(1.0f,0.7f,0.8f).setTranslation(0.0f,0.0f,-3.3f) .addChild(new TransformObject().setUSE("GunnersWindow"))) .addChild(new TransformObject("PortAft").setScale(1.0f,0.7f,0.8f).setTranslation(0.0f,0.0f,-4.3f) .addChild(new TransformObject().setUSE("GunnersWindow"))) .addChild(new TransformObject("StarboardAccessUpper").setScale(1.0f,0.7f,1.0f).setTranslation(-2.001f,0.0f,0.0f) .addChild(new TransformObject().setUSE("GunnersWindow"))) .addChild(new TransformObject("StarboardAccessLower").setScale(1.0f,.4f,0.395f).setTranslation(-1.005f,-0.6f,2.1f) .addChild(new ShapeObject() .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(0.0f,0.0f,0.0f).setShininess(.5f))) .setGeometry(new IndexedLineSetObject().setColorPerVertex(false).setCoordIndex(new int[] {0,1,2,3,4,-1}) .setCoord(new CoordinateObject().setPoint(new MFVec3fObject(new float[] {0.0f,0.0f,0.0f,0.0f,0.0f,1.0f,0.0f,1.0f,1.0f,0.0f,1.0f,0.0f,0.0f,0.0f,0.0f})))))) .addChild(new TransformObject("StarboardMid").setTranslation(-2.005f,0.0f,0.0f) .addChild(new TransformObject().setUSE("PortMid"))) .addChild(new TransformObject("StarboardAft").setTranslation(-2.005f,0.0f,0.0f) .addChild(new TransformObject().setUSE("PortAft"))) .addChild(new TransformObject().setRotation(0.0f,1.0f,0.0f,1.571f).setTranslation(0.02f,0.37f,-6.54f) .addChild(new ShapeObject("Aft") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setBeginCap(false).setCreaseAngle(.628f).setCrossSection(new MFVec2fObject(new float[] {1.9775f,-.8225f,1.7775f,-1.0225f,.3775f,-1.0225f,.1775f,-.8225f,.0224995f,-.57298f,.0311315f,.549111f,.1775f,.777501f,.3775f,.9775f,1.7775f,.9775f,1.9775f,.777501f})).setScale(new MFVec2fObject(new float[] {1.0f,1.0f,.9669f,.9669f,.7915f,.7915f,.7f,.7f,.4527f,.4527f,.3517f,.3517f,.3f,.3f,.1254f,.1254f,.1118f,.1118f,.1072f,.1072f,.1045f,.1045f,.1032f,.1032f,.1019f,.1019f,.1006f,.1006f,.1f,.1f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {-3.7f,.6f,0.0f,-3.57279f,.6f,0.0f,-2.3966f,.6f,0.0f,-1.9f,.6f,0.0f,-.976534f,.6f,0.0f,-.45138f,.6f,0.0f,0.0f,.6f,0.0f,3.09134f,.6f,0.0f,3.17433f,.6f,0.0f,3.19015f,.6f,0.0f,3.1959f,.6f,0.0f,3.19785f,.6f,0.0f,3.19919f,.6f,0.0f,3.19989f,.6f,0.0f,3.2f,.6f,0.0f}))))) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,3.142f).setScale(1.0f,.46f,1.0f).setTranslation(-.01f,2.05f,-5.25f) .addChild(new ShapeObject("UpperAft") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setBeginCap(false).setCreaseAngle(.628f).setCrossSection(new MFVec2fObject(new float[] {.5f,-1.0f,-.5f,-1.0f,-.5f,0.0f,.5f,0.0f,.5f,-1.0f})).setScale(new MFVec2fObject(new float[] {1.0f,1.0f,.1f,.1f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {-.0098987f,2.4033f,2.4066f,-.00329957f,2.4033f,-2.4f}))))) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,-0.349f).setScale(1.0f,1.0f,1.2f).setTranslation(0.48f,2.25f,-10.2f) .addChild(new ShapeObject("TailPylon") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setCcw(false).setConvex(false).setCreaseAngle(.628f).setCrossSection(new MFVec2fObject(new float[] {.655971f,-.248586f,.655339f,-.246093f,.651563f,-.242427f,.539975f,-.206212f,-1.57486f,.396217f,-1.63932f,.445531f,-1.64109f,1.85141f,-1.44149f,1.80405f,1.05597f,.351414f,1.27014f,.124608f,1.35907f,-.114254f,1.35597f,-.448586f,1.24545f,-.754414f,1.07399f,-.945112f,.855971f,-1.04859f,.793477f,-1.0518f,.748985f,-1.03363f,.704366f,-.986023f,.650942f,-.83059f,.655971f,-.248586f})).setSolid(false).setSpine(new MFVec3fObject(new float[] {.1f,.2f,0.0f,-.1f,.2f,0.0f})))) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,-0.349f).setScale(1.0f,1.12f,1.6f).setTranslation(0.0f,1.19f,-0.5f) .addChild(new ShapeObject("TailRotorGearbox") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new SphereObject().setRadius(0.3f)))) .addChild(new TransformObject().setRotation(1.0f,0.0f,0.0f,1.571f).setTranslation(-1.5f,0.4f,0.4f) .addChild(new TransformObject().setRotation(0.0f,1.0f,0.0f,0.349f) .addChild(new ShapeObject("PylonStabilizer") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new ExtrusionObject().setCcw(false).setCreaseAngle(1.05f).setCrossSection(new MFVec2fObject(new float[] {-.1f,0.0f,.113389f,.0259362f,.122774f,.0329467f,.124196f,.0373062f,.123531f,.0402589f,.120283f,.0447364f,.103393f,.0552636f,-.1f,.1f,-1.0f,.1f,-1.22141f,.0635873f,-1.23047f,.0545683f,-1.23096f,.0484758f,-1.22706f,.0424007f,-1.21305f,.0334731f,-1.04187f,.00278435f,-1.0f,0.0f,-.1f,0.0f})).setScale(new MFVec2fObject(new float[] {1.0f,1.0f,.7f,.7f,.4f,.4f})).setSpine(new MFVec3fObject(new float[] {1.5f,0.0f,0.0f,0.0f,0.0f,0.0f,-2.02f,0.0f,0.0f})))))) .addChild(new TransformObject().setRotation(0.0f,0.0f,1.0f,0.798f).setTranslation(-0.7f,-0.31f,0.4f) .addChild(new ShapeObject("TailStrut") .setAppearance(new AppearanceObject() .setMaterial(new MaterialObject().setDiffuseColor(.208f,.388f,.463f).setEmissiveColor(.0471f,.0863f,0.0f))) .setGeometry(new CylinderObject().setRadius(0.08f)))))) .addChild(new ViewpointObject().setDescription("Fuselage Front, level")) .addChild(new ViewpointObject().setDescription("Fuselage Left, leve sideview").setOrientation(0.0f,1.0f,0.0f,1.571f).setPosition(15.0f,0.0f,0.0f)) .addChild(new ViewpointObject().setDescription("Fuselage Right, level sideview").setOrientation(0.0f,-1.0f,0.0f,1.571f).setPosition(-15.0f,0.0f,0.0f))); } // end of initialize() method /** The initialized model object, created within initialize() method. */ private X3DObject x3dModel; /** Provide a * shallow copy * of the X3D model. * @see X3DObject * @return MH53EFuselage model */ public X3DObject getX3dModel() { return x3dModel; } /** Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object. * @param args array of input parameters, provided as arguments * @see X3DObject.handleArguments(args) * @see X3DObject.validationReport() * @see CommandLine * @see CommandLine.USAGE * @see ConfigurationProperties */ public static void main(String args[]) { X3DObject thisExampleX3dObject = new MH53EFuselage().getX3dModel(); boolean hasArguments = (args != null) && (args.length > 0); boolean validate = true; // default boolean argumentsLoadNewModel = false; String fileName = new String(); if (args != null) { for (String arg : args) { if (arg.toLowerCase().startsWith("-v") || arg.toLowerCase().contains("validate")) { validate = true; // making sure } if (arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3D) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_CLASSICVRML) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_X3DB) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_VRML97) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_EXI) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_GZIP) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_ZIP) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_HTML) || arg.toLowerCase().endsWith(X3DObject.FILE_EXTENSION_XHTML)) { argumentsLoadNewModel = true; fileName = arg; } } } if (argumentsLoadNewModel) System.out.println("WARNING: \"MH53EFuselage\" model invocation is attempting to load file \"" + fileName + "\" instead of simply validating itself... file loading ignored."); else if (hasArguments) // if no arguments provided, this method produces usage warning thisExampleX3dObject.handleArguments(args); if (validate) { System.out.print("Java program \"MH53EFuselage\" self-validation test results: "); String validationResults = thisExampleX3dObject.validationReport(); System.out.println(validationResults); } } }