package Savage.AmphibiousVehicles.LCAC;

import org.web3d.x3d.jsail.Core.*;
import org.web3d.x3d.jsail.EnvironmentalEffects.*;
import org.web3d.x3d.jsail.fields.*;
import org.web3d.x3d.jsail.Geometry3D.*;
import org.web3d.x3d.jsail.Grouping.*;
import org.web3d.x3d.jsail.Rendering.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> Blower, Nozzle and Blower Engine House for the LCAC. </p>
 <p> Related links: Catalog page <a href="../../../../AmphibiousVehicles/LCAC/PortBlowerHouseIndex.html" target="_blank">PortBlowerHouse</a>,  source <a href="../../../../AmphibiousVehicles/LCAC/PortBlowerHouse.java">PortBlowerHouse.java</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank">X3D Resources</a>, <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank">X3D Scene Authoring Hints</a>, and <a href="https://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank">X3D Tooltips</a>. </p>
	<table style="color:black; border:0px solid; border-spacing:10px 0px;">
        <caption>Scene Meta Information</caption>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center; padding:10px 0px;"><i>meta tags</i></td>
			<td style="text-align:left;   padding:10px 0px;">&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="../../../../AmphibiousVehicles/LCAC/PortBlowerHouse.x3d">PortBlowerHouse.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> Blower, Nozzle and Blower Engine House for the LCAC </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translator </i> </td>
			<td> Jeffrey Weekley </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 24 June 2001 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 20 October 2019 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="http://www.hazegray.org/features/nato/us/lcac" target="_blank">http://www.hazegray.org/features/nato/us/lcac</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="../../../../AmphibiousVehicles/LCAC/lcac.pdf">lcac.pdf</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.fas.org/man/dod-101/sys/ship/lcac.htm" target="_blank">https://www.fas.org/man/dod-101/sys/ship/lcac.htm</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> lsd-44_990829-N-9593R-002.jpg </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.fas.org/man/dod-101/sys/ship/lsd-44_990829-N-9593R-002.jpg" target="_blank">https://www.fas.org/man/dod-101/sys/ship/lsd-44_990829-N-9593R-002.jpg</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.fas.org/man/dod-101/sys/ship/lcac-kb97_8.jpg" target="_blank">https://www.fas.org/man/dod-101/sys/ship/lcac-kb97_8.jpg</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> lcac-dvic076.jpg </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.fas.org/man/dod-101/sys/ship/lcac-dvic076.jpg" target="_blank">https://www.fas.org/man/dod-101/sys/ship/lcac-dvic076.jpg</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> identifier </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/PortBlowerHouse.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/PortBlowerHouse.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> subject </i> </td>
			<td> LCAC Blower House </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 3.2, <a href="https://www.web3d.org/x3d/tools/X3D-Edit" target="_blank">https://www.web3d.org/x3d/tools/X3D-Edit</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="../../../../AmphibiousVehicles/LCAC/../../license.html">../../license.html</a> </td>
		</tr>
		<tr style="background-color:silver; border-color:silver;">
			<td style="text-align:center;" colspan="2">  &nbsp; </td>
		</tr>
	</table>

	<p>
		This program uses the
		<a href="https://www.web3d.org/specifications/java/X3DJSAIL.html" target="_blank">X3D Java Scene Access Interface Library (X3DJSAIL)</a>.
		It has been produced using the 
		<a href="https://www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">X3dToJava.xslt</a>
		stylesheet
	       (<a href="https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/stylesheets/X3dToJava.xslt" target="_blank">version control</a>)
                which is used to create Java source code from an original <code>.x3d</code> model.
	</p>

 */

public class PortBlowerHouse
{
	/** Default constructor to create this object. */
	public PortBlowerHouse ()
	{
	  initialize();
	}

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_IMMERSIVE).setVersion(X3D.VERSION_3_0)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("PortBlowerHouse.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("Blower, Nozzle and Blower Engine House for the LCAC"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Jeffrey Weekley"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("24 June 2001"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("20 October 2019"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("http://www.hazegray.org/features/nato/us/lcac"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("lcac.pdf"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.fas.org/man/dod-101/sys/ship/lcac.htm"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("lsd-44_990829-N-9593R-002.jpg"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.fas.org/man/dod-101/sys/ship/lsd-44_990829-N-9593R-002.jpg"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.fas.org/man/dod-101/sys/ship/lcac-kb97_8.jpg"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("lcac-dvic076.jpg"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.fas.org/man/dod-101/sys/ship/lcac-dvic076.jpg"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/PortBlowerHouse.x3d"))
    .addMeta(new meta().setName(meta.NAME_SUBJECT    ).setContent("LCAC Blower House"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("PortBlowerHouse.x3d"))
    .addChild(new ExternProtoDeclare("ArbitraryAxisCylinderSensor").setName("ArbitraryAxisCylinderSensor").setAppinfo("Modified CylinderSensor with children nodes oriented about an arbitrary axis. Warning: ArbitraryAxisCylinderSensor affects children, not peers.").setUrl(new String[] {"../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor","https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.x3d#ArbitraryAxisCylinderSensor","../../../Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor","https://www.web3d.org/x3d/content/examples/Savage/Tools/Animation/ArbitraryAxisCylinderSensorPrototype.wrl#ArbitraryAxisCylinderSensor"})
      .addField(new field().setName("shiftRotationAxis").setType(field.TYPE_SFROTATION).setAccessType(field.ACCESSTYPE_INITIALIZEONLY).setAppinfo("shifted axis of rotation from local vertical, default 1 0 0 0"))
      .addField(new field().setName("center").setType(field.TYPE_SFVEC3F).setAccessType(field.ACCESSTYPE_INITIALIZEONLY).setAppinfo("local center for axis of rotation, default 0 0 0"))
      .addField(new field().setName("showCylinderSensorShape").setType(field.TYPE_SFBOOL).setAccessType(field.ACCESSTYPE_INITIALIZEONLY).setAppinfo("whether to show visualization shape to show orientation and cylindrical mapping of mouse movements by sensor, default true"))
      .addField(new field().setName("scaleCylinderSensorShape").setType(field.TYPE_SFVEC3F).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("scale for visualization shape, default 1 1 1"))
      .addField(new field().setName("colorCylinderSensorShape").setType(field.TYPE_SFCOLOR).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("color for visualization shape, default 0.9 0.9 0.4"))
      .addField(new field().setName("transparencyCylinderSensorShape").setType(field.TYPE_SFFLOAT).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("transparency for visualization shape"))
      .addField(new field().setName("children").setType(field.TYPE_MFNODE).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("children nodes affected by ArbitraryAxisCylinderSensor"))
      .addField(new field().setName("autoOffset").setType(field.TYPE_SFBOOL).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("determines whether previous offset values are remembered/accumulated, default true"))
      .addField(new field().setName("description").setType(field.TYPE_SFSTRING).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("Text tooltip displayed for user interaction"))
      .addField(new field().setName("diskAngle").setType(field.TYPE_SFFLOAT).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("diskAngle 0 forces disk-like behavior, diskAngle 1.57 (90 degrees) forces cylinder-like behavior, default 0.262, range [0,pi/2]"))
      .addField(new field().setName("enabled").setType(field.TYPE_SFBOOL).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("enables/disables node operation, default true"))
      .addField(new field().setName("minAngle").setType(field.TYPE_SFFLOAT).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("clamps rotation_changed events, default 0, range [-2pi,2pi]"))
      .addField(new field().setName("maxAngle").setType(field.TYPE_SFFLOAT).setAccessType(field.ACCESSTYPE_INPUTOUTPUT).setAppinfo("clamps rotation_changed events, default -1, range [-2pi,2pi]"))
      .addField(new field().setName("offset").setType(field.TYPE_SFFLOAT).setAccessType(field.ACCESSTYPE_INITIALIZEONLY).setAppinfo("sends event and remembers last value sensed, default 0, range (-infinity,infinity)"))
      .addField(new field().setName("isActive").setType(field.TYPE_SFBOOL).setAccessType(field.ACCESSTYPE_OUTPUTONLY).setAppinfo("output event isActive=true when primary mouse button is pressed, output event isActive=false when released."))
      .addField(new field().setName("rotation_changed").setType(field.TYPE_SFROTATION).setAccessType(field.ACCESSTYPE_OUTPUTONLY).setAppinfo("rotation_changed events equal sum of relative bearing changes plus offset value about Y-axis in local coordinate system"))
      .addField(new field().setName("trackPoint_changed").setType(field.TYPE_SFVEC3F).setAccessType(field.ACCESSTYPE_OUTPUTONLY).setAppinfo("trackPoint_changed events give intersection point of bearing with sensor's virtual geometry")))
    .addChild(new Background().setSkyColor(new MFColor(new double[] {0.33,0.15,0.1667})))
    .addChild(new Group("Duct")
      .addChild(new Transform("TopMount").setTranslation(-1.75,-0.85,0.0)
        .addChild(new Shape()
          .setGeometry(new Box().setSize(6.0,0.6,2.425))
          .setAppearance(new Appearance()
            .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
      .addChild(new Group("ForwardDuct")
        .addChild(new Transform("Bottom")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.7,0.7,0.75)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.75,-2.0,1.6125,1.25,-1.15,1.2125,1.25,-1.15,-1.2125,2.75,-2.0,-1.6125,2.75,-2.0,1.6125}))))))
        .addChild(new Transform("PortSide")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.75,-2.0,1.6125,1.25,-1.15,1.2125,1.25,-0.55,1.2125,2.75,-2.0,1.6125}))))))
        .addChild(new Transform("StarboardSide")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.75,-2.0,-1.6125,1.25,-1.15,-1.2125,1.25,-0.55,-1.2125,2.75,-2.0,-1.6125}))))))
        .addChild(new Transform("Front")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.75,-2.0,1.6125,1.25,-0.55,1.2125,1.25,-0.55,-1.2125,2.75,-2.0,-1.6125,2.75,-2.0,1.6125}))))))))
    .addChild(new Group("EngineBlock")
      .addChild(new Transform("Forward").setTranslation(1.375,-3.0,0.0)
        .addChild(new Shape()
          .setGeometry(new Box().setSize(2.75,2.0,3.225))
          .setAppearance(new Appearance()
            .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
      .addChild(new Transform("Rear").setTranslation(-6.0,0.0,0.0)
        .addChild(new Transform().setUSE("Forward")))
      .addChild(new Group("MiddleStarboard")
        .addChild(new Transform("MiddleOutside")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,1.6125,0.0,-3.0,1.6125,0.0,-4.0,1.6125,-3.28,-4.0,1.6125,-3.28,-3.0,1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("MiddleInside")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,1.5125,0.0,-3.0,1.5125,0.0,-4.0,1.5125,-3.28,-4.0,1.5125,-3.28,-3.0,1.5125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("MiddleTop")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,1.6125,-3.25,-3.0,1.5125,0.0,-3.0,1.5125,0.0,-3.0,1.6125,-3.28,-3.0,1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("MiddleBottom")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-4.0,1.6125,-3.25,-4.0,1.5125,0.0,-4.0,1.5125,0.0,-4.0,1.6125,-3.28,-4.0,1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85))))))
      .addChild(new Group("MiddlePort")
        .addChild(new Transform("PortMiddleOutside")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,-1.6125,0.0,-3.0,-1.6125,0.0,-4.0,-1.6125,-3.28,-4.0,-1.6125,-3.28,-3.0,-1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("PortMiddleInside")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,-1.5125,0.0,-3.0,-1.5125,0.0,-4.0,-1.5125,-3.28,-4.0,-1.5125,-3.28,-3.0,-1.5125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("PortMiddleTop")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-3.0,-1.6125,-3.25,-3.0,-1.5125,0.0,-3.0,-1.5125,0.0,-3.0,-1.6125,-3.28,-3.0,-1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
        .addChild(new Transform("PortMiddleBottom")
          .addChild(new Shape()
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {-3.28,-4.0,-1.6125,-3.25,-4.0,-1.5125,0.0,-4.0,-1.5125,0.0,-4.0,-1.6125,-3.28,-4.0,-1.6125}))))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85))))))
      .addChild(new Group("OutsideRailings")
        .addChild(new Transform("CenterRailing")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new Extrusion().setCrossSection(new MFVec2f(new double[] {0.010,0.00,0.0092,-0.0038,0.0071,-0.0071,0.0038,-0.0092,0.00,-0.010,-0.0038,-0.0092,-0.0071,-0.0071,-0.0092,-0.0038,-0.010,-0.00,-0.0092,0.0038,-0.0071,0.0071,-0.0038,0.0092,0.00,0.010,0.0038,0.0092,0.0071,0.0071,0.0092,0.0038,0.010,0.00})).setScale(new MFVec2f(new double[] {2.0,2.0,2.0,2.0,2.0,2.0})).setSpine(new MFVec3f(new double[] {-1.64,-3.0,1.5625,-1.64,-1.4,1.5625,-1.64,-1.0,1.125})))))
        .addChild(new Transform().setTranslation(-1.58,0.0,0.0)
          .addChild(new Transform().setUSE("CenterRailing")))
        .addChild(new Transform().setTranslation(1.6,0.0,0.0)
          .addChild(new Transform().setUSE("CenterRailing")))
        .addChild(new Transform("TopRailing").setRotation(0.0,0.0,1.0,1.57).setTranslation(-1.64,-1.4,1.5625)
          .addChild(new Shape()
            .setGeometry(new Cylinder().setHeight(3.18).setRadius(0.0166))
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85))))))
      .addChild(new Transform("InsideShaft").setRotation(0.0,0.0,1.0,1.57).setTranslation(-1.725,-1.25,1.2625)
        .addChild(new Shape()
          .setGeometry(new Cylinder().setHeight(3.475).setRadius(0.045))
          .setAppearance(new Appearance()
            .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))))
      .addChild(new Transform().setTranslation(-1.625,-4.225,0.0)
        .addChild(new Shape()
          .setGeometry(new Box().setSize(8.75,0.5,3.225))
          .setAppearance(new Appearance()
            .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85))))))
    .addChild(new Group("InsideRailings")
      .addChild(new Transform().setRotation(0.0,1.0,0.0,3.14).setTranslation(-3.25,0.0,0.0)
        .addChild(new Group().setUSE("OutsideRailings"))))
    .addChild(new Group("SupportStruts")
      .addChild(new Transform("Primary")
        .addChild(new Transform()
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
        .addChild(new Transform()
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
        .addChild(new Transform()
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
        .addChild(new Transform()
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125})))))))
      .addChild(new Transform("ForwardStrut").setTranslation(1.0,0.0,0.0)
        .addChild(new Transform()
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125}))))))))
      .addChild(new Transform("FirstRear").setTranslation(-3.5,0.0,0.0)
        .addChild(new Transform()
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125}))))))))
      .addChild(new Transform("SecondRear").setTranslation(-3.83,0.0,0.0)
        .addChild(new Transform()
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125}))))))))
      .addChild(new Transform("ThirdRear").setTranslation(-4.13,0.0,0.0)
        .addChild(new Transform()
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125}))))))))
      .addChild(new Transform("FourthRear").setTranslation(-4.43,0.0,0.0)
        .addChild(new Transform()
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.15,0.66,0.66)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.0,-2.0,1.6125,0.0,-1.0,1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.0,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.1,-1.0,-1.2125,0.1,-2.0,-1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,1.6125,0.1,-1.0,1.2125,0.0,-1.0,1.2125,0.0,-2.0,1.6125,0.1,-2.0,1.6125}))))))
          .addChild(new Transform()
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
              .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
                .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {0.1,-2.0,-1.6125,0.1,-1.0,-1.2125,0.0,-1.0,-1.2125,0.0,-2.0,-1.6125,0.1,-2.0,-1.6125})))))))))
    .addChild(new Group("RearDuct")
      .addChild(new Transform().setRotation(0.0,1.0,0.0,3.14).setTranslation(-3.5,0.0,0.0)
        .addChild(new Transform("RearBottom")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.5,-2.0,1.6125,1.25,-1.15,1.2125,1.25,-1.15,-1.2125,2.5,-2.0,-1.6125,2.5,-2.0,1.6125}))))))
        .addChild(new Transform("RearPortSide")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.5,-2.0,1.6125,1.25,-1.15,1.2125,1.25,-0.55,1.2125,2.5,-2.0,1.6125}))))))
        .addChild(new Transform("RearStarboardSide")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.5,-2.0,-1.6125,1.25,-1.15,-1.2125,1.25,-0.55,-1.2125,2.5,-2.0,-1.6125}))))))
        .addChild(new Transform("RearFront")
          .addChild(new Shape()
            .setAppearance(new Appearance()
              .setMaterial(new Material().setDiffuseColor(0.8,0.8,0.85)))
            .setGeometry(new IndexedFaceSet().setSolid(false).setCoordIndex(new int[] {0,1,2,3,4,-1})
              .setCoord(new Coordinate().setPoint(new MFVec3f(new double[] {2.5,-2.0,1.6125,1.25,-0.55,1.2125,1.25,-0.55,-1.2125,2.5,-2.0,-1.6125,2.5,-2.0,1.6125}))))))))
    .addChild(new Transform("CenterThingy").setRotation(0.0,0.0,1.0,1.57).setTranslation(-1.64,-3.0,0.0)
      .addChild(new Shape()
        .setGeometry(new Cylinder().setHeight(3.28))
        .setAppearance(new Appearance()
          .setMaterial(new Material().setDiffuseColor(0.4,0.4,0.45)))))
    .addChild(new ProtoInstance("ArbitraryAxisCylinderSensor").setContainerField("children")
      .addFieldValue(new fieldValue().setName("showCylinderSensorShape").setValue(false))
      .addFieldValue(new fieldValue().setName("children")
        .addChild(new Group("Blower")
          .addChild(new Transform("BlowerNozzle").setRotation(0.0,1.0,0.0,3.14).setScale(0.9,0.9,0.9)
            .addChild(new Shape()
              .setAppearance(new Appearance()
                .setMaterial(new Material().setDiffuseColor(0.75,0.85,0.85)))
              .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(1).setCrossSection(new MFVec2f(new double[] {1.00,0.00,0.92,-0.38,0.71,-0.71,0.38,-0.92,0.00,-1.00,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1.00,-0.00,-0.92,0.38,-0.71,0.71,-0.38,0.92,0.00,1.00,0.38,0.92,0.71,0.71,0.92,0.38,1.00,0.00})).setScale(new MFVec2f(new double[] {1.0,1.0,1.0,1.0,0.9932,1.0,0.9864,1.0,0.9796,1.0,0.9728,1.0,0.966,1.0,0.9592,1.0,0.9524,1.0,0.9456,1.0,0.9388,1.0,0.932,1.0,0.9252,1.0,0.9184,1.0,0.9116,1.0,0.9048,1.0,0.898,1.0,0.8912,1.0,0.8844,1.0,0.8776,1.0,0.8708,1.0,0.864,1.0,0.8572,1.0,0.8504,1.0,0.8436,1.0,0.8368,1.0,0.83,1.0,0.8232,1.0,0.8164,1.0,0.8096,1.0,0.8028,1.0,0.796,1.0,0.7892,1.0,0.7824,1.0,0.7756,1.0,0.7688,1.0,0.762,1.0,0.7552,0.996666667,0.7484,0.993333333,0.7416,0.99,0.7348,0.986666667,0.728,0.983333333,0.7212,0.98,0.7144,0.976666667,0.7076,0.973333333,0.7008,0.97,0.694,0.966666667,0.6872,0.963333333,0.6804,0.96,0.6736,0.956666667,0.6668,0.953333333,0.66,0.95})).setSolid(false).setSpine(new MFVec3f(new double[] {0.0,-0.5,0.0,0.0,0.0,0.0,0.0,0.0132,0.0,0.0,0.0264,0.0,0.0,0.0396,0.0,0.0,0.0528,0.0,0.0,0.066,0.0,0.0,0.0792,0.0,0.0,0.0924,0.0,0.0,0.1056,0.0,0.0,0.1188,0.0,0.03,0.132,0.0,0.06,0.1452,0.0,0.09,0.1584,0.0,0.12,0.1716,0.0,0.15,0.1848,0.0,0.18,0.198,0.0,0.21,0.2112,0.0,0.24,0.2244,0.0,0.27,0.2376,0.0,0.3,0.2508,0.0,0.33,0.264,0.0,0.36,0.2772,0.0,0.39,0.2904,0.0,0.42,0.3036,0.0,0.45,0.3168,0.0,0.48,0.33,0.0,0.51,0.3432,0.0,0.54,0.3564,0.0,0.57,0.3696,0.0,0.6,0.3828,0.0,0.63,0.396,0.0,0.66,0.4092,0.0,0.69,0.4224,0.0,0.72,0.4356,0.0,0.75,0.4488,0.0,0.78,0.462,0.0,0.81,0.4752,0.0,0.84,0.4884,0.0,0.87,0.5016,0.0,0.9,0.5148,0.0,0.93,0.528,0.0,0.96,0.5412,0.0,0.99,0.5544,0.0,1.02,0.5676,0.0,1.05,0.5808,0.0,1.08,0.594,0.0,1.11,0.6072,0.0,1.14,0.6204,0.0,1.17,0.6336,0.0,1.2,0.6468,0.0,1.66,0.66,0.0}))))
            .addChild(new Transform("Fitting").setTranslation(0.0,-0.6,0.0)
              .addChild(new Shape()
                .setGeometry(new Cylinder().setHeight(0.2).setRadius(1.325))
                .setAppearance(new Appearance()
                  .setMaterial(new Material().setDiffuseColor(0.75,0.85,0.85)))))
            .addChild(new Transform("Hole")
              .addChild(new Shape()
                .setAppearance(new Appearance()
                  .setMaterial(new Material().setDiffuseColor(0.1,0.15,0.1)))
                .setGeometry(new Extrusion().setConvex(false).setCreaseAngle(1).setCrossSection(new MFVec2f(new double[] {1.00,0.00,0.92,-0.38,0.71,-0.71,0.38,-0.92,0.00,-1.00,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1.00,-0.00,-0.92,0.38,-0.71,0.71,-0.38,0.92,0.00,1.00,0.38,0.92,0.71,0.71,0.92,0.38,1.00,0.00})).setScale(new MFVec2f(new double[] {0.55,0.84,0.55,0.84})).setSolid(false).setSpine(new MFVec3f(new double[] {1.5,0.66,0.0,1.68,0.66,0.0}))))))))));
            }
            catch (Exception ex)
            {       
                System.err.println ("*** Further hints on X3DJSAIL errors and exceptions at");
                System.err.println ("*** https://www.web3d.org/specifications/java/X3DJSAIL.html");
                throw (ex);
            }
	}
	// end of initialize() method

	/** The initialized model object, created within initialize() method. */
	private X3D x3dModel;

	/** 
	 * Provide a 
	 * <a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank">shallow copy</a>
	 * of the X3D model.
	 * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html">X3D</a>
	 * @return PortBlowerHouse model
	 */
	public X3D 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 <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#handleArguments-java.lang.String:A-">X3D.handleArguments(args)</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#validationReport--">X3D.validationReport()</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html">CommandLine</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE">CommandLine.USAGE</a>
     * @see <a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html">ConfigurationProperties</a>
     */
    public static void main(String args[])
    {
        System.out.println("Build this X3D model, showing validation diagnostics...");
        X3D thisExampleX3dModel = new PortBlowerHouse().getX3dModel();
//      System.out.println("X3D model construction complete.");
	
        // next handle command line arguments
        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(X3D.FILE_EXTENSION_X3D) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_CLASSICVRML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_X3DB) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_VRML97) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_EXI) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_GZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_ZIP) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_HTML) ||
                                arg.toLowerCase().endsWith(X3D.FILE_EXTENSION_XHTML))
                        {
                                argumentsLoadNewModel = true;
                                fileName = arg;
                        }
                }
        }
        if      (argumentsLoadNewModel)
                System.out.println("WARNING: \"Savage.AmphibiousVehicles.LCAC.PortBlowerHouse\" 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
                thisExampleX3dModel.handleArguments(args);
	
        if (validate)
        {
            //  System.out.println("--- TODO fix duplicated outputs ---"); // omit when duplicated outputs problem is solved/refactored
		String validationResults = thisExampleX3dModel.validationReport();
            //  System.out.println("-----------------------------------"); // omit when duplicated outputs problem is solved/refactored
                System.out.print("Savage.AmphibiousVehicles.LCAC.PortBlowerHouse self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

                // experimental: test X3DJSAIL output files
                // AmphibiousVehicles/LCAC/PortBlowerHouse_JavaExport.* file validation is checked when building X3D Example Archives
                String filenameX3D  = "AmphibiousVehicles/LCAC/PortBlowerHouse_JavaExport.x3d"; 
                String filenameX3DV = "AmphibiousVehicles/LCAC/PortBlowerHouse_JavaExport.x3dv"; 
                String filenameJSON = "AmphibiousVehicles/LCAC/PortBlowerHouse_JavaExport.json";
                thisExampleX3dModel.toFileX3D        (filenameX3D);
                thisExampleX3dModel.toFileClassicVRML(filenameX3DV);
// TODO         thisExampleX3dModel.toFileJSON       (filenameJSON);
        }
    }
}
