package HumanoidAnimation.Skeleton;

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

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * <p> rib cage or thoracic cage is endoskeletal enclosure in thorax that comprises the ribs, vertebral column and sternum, which protect vital organs of thoracic cavity. </p>
 <p> Related links:  source r_rib5.java, <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;">HumanoidAnimation.Skeleton.r_rib5&nbsp; Document Metadata </td>
		</tr>

		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> title </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib5.x3d">r_rib5.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> description </i> </td>
			<td> rib cage or thoracic cage is endoskeletal enclosure in thorax that comprises the ribs, vertebral column and sternum, which protect vital organs of thoracic cavity </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> creator </i> </td>
			<td> Joe Williams, John Carlson, Damon Hernandez, Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translator </i> </td>
			<td> Don Brutzman </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> created </i> </td>
			<td> 5 December 2013 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> translated </i> </td>
			<td> 5 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> modified </i> </td>
			<td> 8 March 2026 </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/originals/r_rib5.x3d">originals/r_rib5.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/Rib_cage" target="_blank">https://en.wikipedia.org/wiki/Rib_cage</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton" target="_blank">https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/Basic/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/Basic/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> reference </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> generator </i> </td>
			<td> X3D-Edit 4.0, <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> generator </i> </td>
			<td> X3D Tidy, <a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank">https://www.web3d.org/x3d/stylesheets/X3dTidy.html</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/HumanoidAnimation/Skeleton/r_rib5.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib5.x3d</a> </td>
		</tr>
		<tr>
			<td style="text-align:right; vertical-align: text-top;"> <i> license </i> </td>
			<td> <a href="https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/../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>

	* @author Joe Williams, John Carlson, Damon Hernandez, Don Brutzman
 */

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

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERACTIVE).setVersion(X3D.VERSION_3_3)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("r_rib5.x3d"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("rib cage or thoracic cage is endoskeletal enclosure in thorax that comprises the ribs, vertebral column and sternum, which protect vital organs of thoracic cavity"))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Joe Williams, John Carlson, Damon Hernandez, Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("5 December 2013"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATED ).setContent("5 March 2026"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("8 March 2026"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/r_rib5.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/Rib_cage"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://en.wikipedia.org/wiki/List_of_bones_of_the_human_skeleton"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/Basic/Medical"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib5.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("r_rib5.x3d"))
    .addChild(new TouchSensor().setDescription("bone r_rib5"))
    .addChild(new Transform("r_rib5")
      .addChild(new Shape()
        .setAppearance(new Appearance()
          .setMaterial(new Material("BoneMaterial").setAmbientIntensity(0.965).setDiffuseColor(1.0,0.9765,0.8667).setShininess(0.05).setSpecularColor(0.349,0.349,0.349)))
        .setGeometry(new IndexedFaceSet("r_rib5_geometry").setDEF("r_rib5_geometry").setCreaseAngle(1.571).setCoordIndex(getr_rib5_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("r_rib5_coordinate").setPoint(getr_rib5_coordinate_6_22_point()))))));
            }
            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


		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=1 */
		private int[] getr_rib5_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,3,4,5,-1,3,6,4,-1,7,8,9,-1,8,10,9,-1,8,11,10,-1,12,13,14,-1,12,15,13,-1,16,17,18,-1,19,20,21,-1,19,22,20,-1,23,24,25,-1,23,26,24,-1,27,28,29,-1,29,30,27,-1,24,21,31,-1,21,20,31,-1,32,33,34,-1,33,35,34,-1,36,37,38,-1,36,39,37,-1,40,27,30,-1,30,41,40,-1,42,43,44,-1,43,45,44,-1,46,47,48,-1,47,49,48,-1,50,51,52,-1,53,54,55,-1,56,57,58,-1,56,59,57,-1,60,61,62,-1,60,63,61,-1,64,65,66,-1,64,67,65,-1,68,69,70,-1,71,72,73,-1,73,74,71,-1,75,76,77,-1,76,50,77,-1,78,79,80,-1,78,81,79,-1,8,7,82,-1,83,84,85,-1,84,86,85,-1,87,88,89,-1,90,91,92,-1,90,93,91,-1,94,95,96,-1,96,97,94,-1,98,99,90,-1,98,100,101,-1,102,103,104,-1,87,105,106,-1,106,107,87,-1,108,109,110,-1,111,112,113,-1,114,115,116,-1,114,117,115,-1,13,118,119,-1,118,120,119,-1,121,14,122,-1,14,123,122,-1,70,69,124,-1,125,126,17,-1,17,127,125,-1,128,129,130,-1,128,131,129,-1,132,133,134,-1,133,131,134,-1,16,135,136,-1,16,137,135,-1,138,129,133,-1,129,131,133,-1,139,17,140,-1,139,127,17,-1,141,71,74,-1,141,142,71,-1,8,143,11,-1,117,114,144,-1,144,145,117,-1,123,119,146,-1,146,147,123,-1,148,121,149,-1,150,151,152,-1,152,153,150,-1,118,13,15,-1,137,154,155,-1,155,156,137,-1,18,157,16,-1,158,159,129,-1,138,160,161,-1,162,163,164,-1,165,160,2,-1,165,161,160,-1,1,0,135,-1,2,1,165,-1,129,159,130,-1,166,167,164,-1,70,168,169,-1,70,124,168,-1,35,170,171,-1,171,172,35,-1,49,6,48,-1,49,4,6,-1,173,174,175,-1,175,176,173,-1,177,178,179,-1,178,180,179,-1,181,76,182,-1,76,177,182,-1,183,42,184,-1,42,44,184,-1,185,186,187,-1,187,188,185,-1,189,190,191,-1,190,192,191,-1,191,192,193,-1,192,188,193,-1,194,195,196,-1,195,197,196,-1,198,78,199,-1,198,200,78,-1,201,202,203,-1,201,204,202,-1,205,206,207,-1,205,65,206,-1,168,72,150,-1,150,169,168,-1,205,208,209,-1,205,207,208,-1,142,143,8,-1,8,144,142,-1,210,156,211,-1,210,212,156,-1,213,130,159,-1,213,214,130,-1,130,215,216,-1,130,214,215,-1,217,218,219,-1,219,220,217,-1,221,222,223,-1,221,224,222,-1,225,89,88,-1,226,99,227,-1,99,228,227,-1,229,90,92,-1,230,112,231,-1,230,232,112,-1,98,101,233,-1,234,235,236,-1,235,237,236,-1,238,230,225,-1,225,239,238,-1,230,89,225,-1,230,231,89,-1,223,222,217,-1,217,220,223,-1,240,241,128,-1,240,242,241,-1,162,0,2,-1,158,122,123,-1,123,147,158,-1,73,72,168,-1,243,244,245,-1,243,246,244,-1,243,247,246,-1,243,209,247,-1,248,249,250,-1,249,203,250,-1,251,252,253,-1,252,66,253,-1,254,255,53,-1,255,54,53,-1,188,187,256,-1,256,193,188,-1,257,50,52,-1,257,258,50,-1,76,75,177,-1,75,178,177,-1,77,4,49,-1,77,259,4,-1,178,260,180,-1,260,261,180,-1,262,263,264,-1,262,265,263,-1,48,266,267,-1,48,6,266,-1,186,268,269,-1,268,270,269,-1,171,170,271,-1,128,241,134,-1,124,69,155,-1,136,167,140,-1,132,163,133,-1,163,132,272,-1,211,156,155,-1,2,160,163,-1,163,162,2,-1,272,139,166,-1,212,210,158,-1,210,122,158,-1,137,16,157,-1,157,154,137,-1,213,147,110,-1,147,146,110,-1,150,273,169,-1,150,153,273,-1,214,109,215,-1,139,272,274,-1,274,127,139,-1,158,129,161,-1,129,138,161,-1,16,136,140,-1,140,17,16,-1,272,132,274,-1,132,134,274,-1,272,166,164,-1,164,163,272,-1,275,141,74,-1,275,276,141,-1,123,14,13,-1,13,119,123,-1,144,114,142,-1,240,130,216,-1,240,128,130,-1,219,218,242,-1,218,241,242,-1,108,277,109,-1,108,278,277,-1,134,131,128,-1,279,246,247,-1,247,280,279,-1,89,105,87,-1,281,106,282,-1,281,107,106,-1,96,95,239,-1,283,284,285,-1,285,286,283,-1,287,288,289,-1,95,290,291,-1,290,292,291,-1,98,229,100,-1,98,90,229,-1,293,294,235,-1,235,288,293,-1,93,90,99,-1,239,225,88,-1,88,96,239,-1,276,275,295,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_rib5_geometry_5_22_coordIndex_2()
		{
			int[] value = {295,296,276,-1,190,189,297,-1,189,197,297,-1,298,275,73,-1,73,299,298,-1,73,168,124,-1,74,73,275,-1,204,61,300,-1,204,201,61,-1,296,301,302,-1,296,295,301,-1,63,300,61,-1,63,303,300,-1,304,191,193,-1,304,305,191,-1,306,307,301,-1,306,308,307,-1,254,309,310,-1,254,53,309,-1,53,311,309,-1,53,194,311,-1,55,195,194,-1,194,53,55,-1,312,313,314,-1,314,257,312,-1,195,297,197,-1,195,315,297,-1,173,176,265,-1,176,263,265,-1,183,316,317,-1,316,318,317,-1,319,320,27,-1,27,40,319,-1,32,34,22,-1,22,19,32,-1,25,31,321,-1,25,24,31,-1,27,320,28,-1,320,322,28,-1,323,21,324,-1,323,19,21,-1,271,29,325,-1,271,326,29,-1,257,314,327,-1,327,258,257,-1,124,155,154,-1,154,328,124,-1,148,12,121,-1,12,14,121,-1,72,151,150,-1,5,4,329,-1,4,259,329,-1,327,259,258,-1,329,259,327,-1,330,331,332,-1,330,333,331,-1,334,333,330,-1,333,335,336,-1,334,335,333,-1,34,266,22,-1,266,34,267,-1,337,29,326,-1,337,30,29,-1,330,41,338,-1,330,332,41,-1,324,339,323,-1,339,324,340,-1,19,341,32,-1,19,323,341,-1,342,38,37,-1,38,342,33,-1,322,321,343,-1,322,25,321,-1,342,271,170,-1,326,271,342,-1,344,322,343,-1,28,322,344,-1,345,26,23,-1,345,346,26,-1,323,347,341,-1,323,339,347,-1,39,335,334,-1,36,335,39,-1,267,35,172,-1,35,267,34,-1,316,80,318,-1,316,348,80,-1,183,269,42,-1,183,317,269,-1,349,173,265,-1,350,173,349,-1,343,351,352,-1,321,351,343,-1,52,297,315,-1,52,51,297,-1,313,55,54,-1,312,55,313,-1,59,311,308,-1,309,311,59,-1,189,305,353,-1,305,189,191,-1,301,354,302,-1,307,354,301,-1,254,199,348,-1,254,310,199,-1,355,194,196,-1,311,194,355,-1,256,304,193,-1,79,304,256,-1,303,356,300,-1,303,200,356,-1,357,301,295,-1,357,306,301,-1,67,57,358,-1,67,58,57,-1,300,359,204,-1,359,300,356,-1,201,62,61,-1,201,360,62,-1,328,73,124,-1,73,328,299,-1,298,295,275,-1,298,357,295,-1,361,196,353,-1,196,361,355,-1,51,190,297,-1,181,190,51,-1,77,47,75,-1,77,49,47,-1,204,252,202,-1,204,359,252,-1,362,363,364,-1,362,278,363,-1,277,365,366,-1,277,367,365,-1,245,368,251,-1,245,10,368,-1,369,7,244,-1,369,82,7,-1,239,291,238,-1,239,95,291,-1,370,102,371,-1,103,102,370,-1,95,286,290,-1,95,94,286,-1,229,285,100,-1,229,292,285,-1,289,235,234,-1,289,288,235,-1,233,99,98,-1,233,228,99,-1,238,92,91,-1,291,92,238,-1,232,93,372,-1,93,232,91,-1,287,293,288,-1,287,373,293,-1,284,104,373,-1,283,104,284,-1,102,283,97,-1,283,102,104,-1,372,84,113,-1,372,226,84,-1,374,236,237,-1,236,374,375,-1,282,237,281,-1,237,282,374,-1,157,280,247,-1,18,280,157,-1,246,369,244,-1,279,369,246,-1,376,231,377,-1,376,89,231,-1,134,218,274,-1,134,241,218,-1,376,219,378,-1,376,220,219,-1,379,105,378,-1,105,379,106,-1,380,216,215,-1,380,381,216,-1,242,382,379,-1,382,242,240,-1,248,142,141,-1,142,248,143,-1,68,210,211,-1,68,149,210,-1,71,114,116,-1,71,142,114,-1,383,362,364,-1,384,362,383,-1,212,161,165,-1,212,158,161,-1,208,299,328,-1,299,208,207,-1,109,213,110,-1,214,213,109,-1,12,152,15,-1,153,152,12,-1,160,133,163,-1,133,160,138,-1,0,164,167,-1,0,162,164,-1,127,222,125,-1,127,217,222,-1,60,361,385,-1,361,60,354,-1,386,346,345,-1,386,387,346,-1,336,339,333,-1,336,347,339,-1,334,338,39,-1,334,330,338,-1,388,321,31,-1,351,321,388,-1,344,389,325,-1,389,344,390,-1,31,391,388,-1,31,20,391,-1,392,351,388,-1,350,351,392,-1,390,393,389,-1,393,390,394,-1,46,171,395,-1,46,172,171,-1,3,388,391,-1,392,388,3,-1,265,394,349,-1,262,394,265,-1,260,393,261,-1,260,395,393,-1,180,262,264,-1,180,261,262,-1,260,75,47,-1,260,178,75,-1,329,174,5,-1,175,174,329,-1,258,77,50,-1,259,77,258,-1,270,264,263,-1,268,264,270,-1,314,45,327,-1,44,45,314,-1,179,182,177,-1,185,182,179,-1,315,257,52,-1,312,257,315,-1,54,184,313,-1,255,184,54,-1,317,256,187,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_rib5_geometry_5_22_coordIndex_3()
		{
			int[] value = {256,317,318,-1,255,348,316,-1,348,255,254,-1,79,396,304,-1,79,81,396,-1,385,63,60,-1,63,385,396,-1,56,309,59,-1,56,310,309,-1,360,276,296,-1,360,249,276,-1,65,358,206,-1,67,358,65,-1,359,66,252,-1,359,64,66,-1,203,368,250,-1,203,202,368,-1,249,141,276,-1,141,249,248,-1,328,157,208,-1,154,157,328,-1,280,383,279,-1,280,126,383,-1,253,209,243,-1,253,205,209,-1,145,363,397,-1,145,82,363,-1,251,243,245,-1,251,253,243,-1,148,68,273,-1,148,149,68,-1,146,120,397,-1,146,119,120,-1,108,146,397,-1,108,110,146,-1,86,380,85,-1,86,375,380,-1,378,89,376,-1,378,105,89,-1,223,111,221,-1,223,377,111,-1,100,284,101,-1,284,100,285,-1,382,374,282,-1,374,382,381,-1,281,370,107,-1,294,370,281,-1,282,379,382,-1,106,379,282,-1,235,281,237,-1,235,294,281,-1,101,373,287,-1,373,101,284,-1,287,233,101,-1,233,287,289,-1,381,375,374,-1,375,381,380,-1,291,229,92,-1,292,229,291,-1,83,221,111,-1,83,365,221,-1,377,220,376,-1,377,223,220,-1,96,87,371,-1,87,96,88,-1,224,365,367,-1,365,224,221,-1,228,236,227,-1,228,234,236,-1,109,366,215,-1,366,109,277,-1,384,367,362,-1,367,384,224,-1,397,117,145,-1,117,397,120,-1,10,250,368,-1,11,250,10,-1,279,364,369,-1,279,383,364,-1,125,224,384,-1,125,222,224,-1,208,247,209,-1,208,157,247,-1,167,139,140,-1,167,166,139,-1,66,205,253,-1,66,65,205,-1,207,298,299,-1,206,298,207,-1,398,67,64,-1,398,58,67,-1,357,206,358,-1,298,206,357,-1,360,203,249,-1,360,201,203,-1,310,198,199,-1,56,198,310,-1,308,355,307,-1,308,311,355,-1,396,303,63,-1,303,396,81,-1,305,396,385,-1,305,304,396,-1,79,318,80,-1,79,256,318,-1,353,385,361,-1,353,305,385,-1,316,184,255,-1,316,183,184,-1,312,195,55,-1,312,315,195,-1,192,185,188,-1,192,182,185,-1,187,269,317,-1,187,186,269,-1,313,44,314,-1,184,44,313,-1,190,182,192,-1,190,181,182,-1,268,185,179,-1,268,186,185,-1,43,263,176,-1,43,270,263,-1,264,179,180,-1,179,264,268,-1,327,175,329,-1,45,175,327,-1,392,5,174,-1,392,3,5,-1,47,395,260,-1,47,46,395,-1,394,261,393,-1,261,394,262,-1,173,392,174,-1,173,350,392,-1,389,395,171,-1,395,389,393,-1,390,349,394,-1,390,352,349,-1,20,266,391,-1,20,22,266,-1,171,325,389,-1,271,325,171,-1,344,352,390,-1,344,343,352,-1,41,399,40,-1,399,41,332,-1,36,336,335,-1,347,336,36,-1,346,331,340,-1,346,387,331,-1,345,400,386,-1,319,400,345,-1,18,126,280,-1,18,17,126,-1,274,217,127,-1,274,218,217,-1,167,135,0,-1,136,135,167,-1,213,158,147,-1,213,159,158,-1,397,278,108,-1,397,363,278,-1,273,12,148,-1,273,153,12,-1,116,152,151,-1,115,152,116,-1,11,248,250,-1,11,143,248,-1,15,115,118,-1,15,152,115,-1,82,144,8,-1,82,145,144,-1,151,71,116,-1,151,72,71,-1,156,135,137,-1,156,1,135,-1,165,156,212,-1,165,1,156,-1,384,126,125,-1,384,383,126,-1,169,68,70,-1,68,169,273,-1,211,69,68,-1,155,69,211,-1,149,122,210,-1,149,121,122,-1,120,115,117,-1,118,115,120,-1,240,381,382,-1,381,240,216,-1,85,215,366,-1,85,380,215,-1,371,107,370,-1,371,87,107,-1,242,378,219,-1,379,378,242,-1,112,377,231,-1,111,377,112,-1,375,227,236,-1,227,375,86,-1,230,91,232,-1,230,238,91,-1,286,97,283,-1,97,286,94,-1,373,103,293,-1,373,104,103,-1,372,112,232,-1,372,113,112,-1,233,234,228,-1,234,233,289,-1,285,290,286,-1,292,290,285,-1,371,97,96,-1,102,97,371,-1,293,370,294,-1,293,103,370,-1,113,83,111,-1,113,84,83,-1,9,244,7,-1,244,10,245,-1,244,9,10,-1,86,226,227,-1,84,226,86,-1,366,83,85,-1,366,365,83,-1,278,367,277,-1,278,362,367,-1,364,82,369,-1,364,363,82,-1,99,372,93,-1,99,226,372,-1,202,251,368,-1,252,251,202,-1,78,303,81,-1,200,303,78,-1,51,76,181,-1,76,51,50,-1,354,355,361,-1,354,307,355,-1,360,302,62,-1,360,296,302,-1,356,64,359,-1,64,356,398,-1,358,306,357,-1,358,57,306,-1,200,398,356,-1,200,198,398,-1,198,58,398,-1,198,56,58,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getr_rib5_geometry_5_22_coordIndex_4()
		{
			int[] value = {62,354,60,-1,354,62,302,-1,197,353,196,-1,353,197,189,-1,57,308,306,-1,59,308,57,-1,270,42,269,-1,42,270,43,-1,352,350,349,-1,351,350,352,-1,348,78,80,-1,78,348,199,-1,172,48,267,-1,172,46,48,-1,45,176,175,-1,43,176,45,-1,40,400,319,-1,400,40,399,-1,39,337,37,-1,39,338,337,-1,38,347,36,-1,347,38,341,-1,26,340,324,-1,346,340,26,-1,345,320,319,-1,345,23,320,-1,325,28,344,-1,29,28,325,-1,33,170,35,-1,33,342,170,-1,326,37,337,-1,37,326,342,-1,38,32,341,-1,38,33,32,-1,24,324,21,-1,26,324,24,-1,320,25,322,-1,320,23,25,-1,340,333,339,-1,333,340,331,-1,338,30,337,-1,338,41,30,-1,387,332,331,-1,387,399,332,-1,386,399,387,-1,386,400,399,-1,6,391,266,-1,391,6,3,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_rib5_geometry' coordIndex field, scene-graph level=5, element #22, 3192 total numbers.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFInt32 getr_rib5_geometry_5_22_coordIndex()
		{
			MFInt32 r_rib5_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_rib5_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getr_rib5_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getr_rib5_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getr_rib5_geometry_5_22_coordIndex_4()));
			return r_rib5_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_rib5_coordinate' point field, scene-graph level=6, element #22, 1203 total numbers made up of 401 3-tuple values.
		 * Reassemble split array as single method to improve readability and runnability.
		 * Provide large array values via separate methods, hoping to avoid 'code too large' Java compilation errors. 
		 * Individual Java methods (including aggregated initializations) are limited to 64KB.
		 * @see https://stackoverflow.com/questions/2407912/code-too-large-compilation-error-in-java
		 * @see https://stackoverflow.com/questions/11437905/java-too-many-constants-jvm-error
		 */
		private MFVec3f getr_rib5_coordinate_6_22_point()
		{
			MFVec3f r_rib5_coordinate_6_22_point = new MFVec3f(new double[] {-0.0317,1.4272,-0.0874,-0.0311,1.429,-0.0869,-0.0292,1.4277,-0.0862,-0.0818,1.3085,0.0642,-0.1006,1.3179,0.0484,-0.0996,1.3193,0.0483,-0.0827,1.3065,0.0641,-0.0394,1.4373,-0.0906,-0.0378,1.4371,-0.0912,-0.0401,1.4371,-0.091,-0.0432,1.4369,-0.0937,-0.0419,1.4358,-0.0949,-0.0298,1.4345,-0.0881,-0.0287,1.4356,-0.0876,-0.0282,1.4345,-0.087,-0.0298,1.4356,-0.0886,-0.0347,1.4268,-0.0872,-0.0341,1.4273,-0.0855,-0.0361,1.4276,-0.0872,-0.0684,1.2998,0.0732,-0.0674,1.3014,0.0725,-0.0675,1.3017,0.0729,-0.0685,1.2994,0.0727,-0.0662,1.3095,0.0738,-0.0663,1.306,0.0728,-0.0655,1.3098,0.0735,-0.0668,1.3063,0.0729,-0.069,1.3079,0.0752,-0.069,1.308,0.0758,-0.0701,1.304,0.0765,-0.0701,1.3041,0.0759,-0.0662,1.306,0.0723,-0.0694,1.298,0.0735,-0.07,1.298,0.0745,-0.0697,1.2977,0.0731,-0.0704,1.2976,0.0746,-0.0712,1.3011,0.0734,-0.0703,1.2997,0.0751,-0.0699,1.2986,0.0742,-0.0712,1.302,0.0741,-0.0705,1.3069,0.0743,-0.0711,1.3049,0.0745,-0.1414,1.3697,-0.0188,-0.1307,1.3567,0.0087,-0.1411,1.3687,-0.0201,-0.1297,1.3551,0.0077,-0.0843,1.3047,0.0645,-0.1021,1.3164,0.049,-0.0836,1.3044,0.0639,-0.1015,1.3164,0.0484,-0.1367,1.3461,0.0036,-0.1465,1.3625,-0.0269,-0.1456,1.3632,-0.0263,-0.1289,1.3899,-0.0705,-0.1371,1.3824,-0.0573,-0.1375,1.3818,-0.0587,-0.1028,1.4085,-0.0819,-0.084,1.4148,-0.0937,-0.0862,1.4172,-0.0894,-0.1007,1.4064,-0.0875,-0.1021,1.4082,-0.0921,-0.086,1.4202,-0.0951,-0.0839,1.4177,-0.0976,-0.1041,1.4105,-0.0886,-0.076,1.4246,-0.0916,-0.0634,1.4262,-0.0923,-0.0638,1.4291,-0.0931,-0.0754,1.4219,-0.0915,-0.0306,1.4316,-0.0875,-0.0356,1.4287,-0.0918,-0.0344,1.4303,-0.0916,-0.0394,1.4326,-0.0951,-0.0394,1.4317,-0.095,-0.0464,1.4266,-0.0964,-0.046,1.4279,-0.0974,-0.1194,1.3291,0.0315,-0.1379,1.3461,0.004,-0.1185,1.3288,0.0309,-0.1211,1.4019,-0.0742,-0.1339,1.3937,-0.0658,-0.1322,1.3936,-0.0647,-0.122,1.4018,-0.076,-0.0356,1.4366,-0.0883,-0.0218,1.4299,-0.0744,-0.0192,1.4297,-0.0715,-0.021,1.4304,-0.0746,-0.0189,1.4301,-0.0715,-0.0137,1.4201,-0.072,-0.0149,1.4189,-0.0713,-0.0164,1.4203,-0.0733,-0.0176,1.4256,-0.0652,-0.0179,1.4256,-0.0675,-0.0175,1.4244,-0.0656,-0.0178,1.4272,-0.0675,-0.0153,1.4184,-0.0664,-0.0156,1.4183,-0.0665,-0.0141,1.4189,-0.0692,-0.0139,1.4193,-0.0685,-0.0173,1.4262,-0.0652,-0.0178,1.4289,-0.0677,-0.017,1.4233,-0.0642,-0.0146,1.4252,-0.0669,-0.0128,1.4207,-0.0698,-0.0124,1.4223,-0.0704,-0.0129,1.4214,-0.0692,-0.0152,1.4203,-0.0739,-0.0147,1.4211,-0.0741,-0.0133,1.4217,-0.0724,-0.0294,1.4347,-0.0845,-0.0277,1.4337,-0.083,-0.0284,1.4346,-0.0848,-0.0222,1.4278,-0.0747,-0.0196,1.4269,-0.0719,-0.0194,1.4279,-0.0718,-0.0343,1.4361,-0.0925,-0.0313,1.4366,-0.0903,-0.0338,1.4358,-0.0925,-0.0316,1.4368,-0.0901,-0.0294,1.4362,-0.0883,-0.0287,1.4357,-0.0873,-0.0296,1.4364,-0.0881,-0.0284,1.4335,-0.0868,-0.0281,1.4331,-0.0865,-0.0281,1.4344,-0.0867,-0.0398,1.4277,-0.094,-0.0323,1.4292,-0.0834,-0.0342,1.4299,-0.0854,-0.0323,1.4267,-0.0843,-0.0269,1.428,-0.0834,-0.0276,1.4296,-0.084,-0.0267,1.4304,-0.0833,-0.0277,1.4282,-0.0839,-0.0283,1.4269,-0.0842,-0.0281,1.428,-0.0841,-0.0282,1.4268,-0.084,-0.033,1.428,-0.0881,-0.0341,1.4266,-0.0872,-0.0333,1.4282,-0.0885,-0.0278,1.4293,-0.0842,-0.0324,1.4266,-0.0847,-0.0338,1.4269,-0.0856,-0.0463,1.4289,-0.0977,-0.04,1.4334,-0.0951,-0.0406,1.4344,-0.0952,-0.0356,1.4368,-0.0916,-0.0338,1.4365,-0.0892,-0.0285,1.4348,-0.0857,-0.0281,1.4336,-0.0854,-0.0296,1.4333,-0.0874,-0.0294,1.4319,-0.0866,-0.0336,1.4337,-0.0919,-0.0338,1.4347,-0.0922,-0.0311,1.4354,-0.09,-0.031,1.4344,-0.0894,-0.0369,1.428,-0.0907,-0.0354,1.4286,-0.0914,-0.0313,1.4294,-0.0871,-0.0381,1.4278,-0.0887,-0.0277,1.4315,-0.0851,-0.0274,1.431,-0.0843,-0.0279,1.4281,-0.0847,-0.0276,1.4305,-0.085,-0.0301,1.4266,-0.0862,-0.0282,1.4268,-0.0848,-0.0308,1.4258,-0.0855,-0.029,1.4294,-0.0858,-0.0316,1.426,-0.0849,-0.0329,1.4259,-0.0865,-0.0389,1.429,-0.0948,-0.0337,1.432,-0.0915,-0.0708,1.2989,0.0758,-0.0752,1.3015,0.0734,-0.0746,1.2991,0.0722,-0.096,1.3302,0.0505,-0.098,1.3289,0.0487,-0.1104,1.3394,0.0327,-0.1119,1.3418,0.0332,-0.1381,1.3492,0.0072,-0.1191,1.3331,0.033,-0.1365,1.3528,0.009,-0.1168,1.3377,0.0336,-0.1473,1.3626,-0.0267,-0.1495,1.3643,-0.0225,-0.1419,1.3785,-0.0403,-0.1407,1.3777,-0.0421,-0.1482,1.3673,-0.0198,-0.1452,1.37,-0.0177,-0.1459,1.3787,-0.0401,-0.1473,1.3771,-0.0435,-0.1397,1.3804,-0.0641,-0.1459,1.3729,-0.0497,-0.1422,1.3825,-0.0625,-0.1482,1.3749,-0.0468,-0.1424,1.3846,-0.0584,-0.1294,1.3892,-0.0735,-0.1387,1.3811,-0.0613,-0.129,1.3882,-0.0759,-0.1391,1.3802,-0.0636,-0.1042,1.4106,-0.0814,-0.1197,1.4013,-0.0738,-0.105,1.4114,-0.0827,-0.0735,1.4254,-0.0973,-0.0621,1.4317,-0.0964,-0.0604,1.4297,-0.0985,-0.0753,1.4269,-0.0949,-0.0535,1.4285,-0.0915,-0.0613,1.4242,-0.0949,-0.0511,1.4265,-0.0925,-0.0437,1.4277,-0.091,-0.045,1.4298,-0.0905,-0.0293,1.4314,-0.0863,-0.0307,1.431,-0.0872,-0.029,1.4304,-0.086,-0.0276,1.4328,-0.0844,-0.0273,1.4326,-0.0831,-0.0226,1.4312,-0.078,-0.0213,1.4294,-0.0783,-0.0298,1.4266,-0.0825,-0.0287,1.426,-0.083,-0.0208,1.4229,-0.0788,-0.0226,1.4236,-0.0785,-0.0251,1.4294,-0.0773,-0.0301,1.4285,-0.0819,-0.0246,1.4258,-0.0776,-0.0301,1.4315,-0.082,-0.016,1.4187,-0.0708,-0.0185,1.4298,-0.0696,-0.0181,1.4304,-0.0696,-0.0176,1.4305,-0.0682,-0.0173,1.423,-0.0643,-0.0175,1.4224,-0.0711,-0.0187,1.4229,-0.0727,-0.0188,1.4264,-0.0702,-0.0173,1.43,-0.0676,-0.0157,1.4303,-0.0701,-0.0142,1.4276,-0.0707,-0.0165,1.4302,-0.0713,-0.0149,1.4277,-0.0719,-0.0165,1.4216,-0.0686,-0.0156,1.4182,-0.0687,-0.0205,1.426,-0.0788,-0.0274,1.4265,-0.0833,-0.0201,1.4234,-0.0789,-0.0452,1.4335,-0.0909,-0.04,1.437,-0.0904,-0.0439,1.4366,-0.0929,-0.0391,1.4332,-0.0885,-0.0385,1.4303,-0.0886,-0.0472,1.4315,-0.0974,-0.0585,1.4272,-0.1,-0.0489,1.4335,-0.0967,-0.0529,1.4338,-0.0937,-0.0635,1.4308,-0.0943,-0.0538,1.4319,-0.092,-0.129,1.3922,-0.0654,-0.1361,1.3843,-0.0538,-0.1419,1.3859,-0.0543,-0.1445,1.3639,-0.0257,-0.1348,1.347,0.0038,-0.1165,1.33,0.0305,-0.1037,1.3197,0.0495,-0.1018,1.3252,0.0507,-0.0991,1.3293,0.0513,-0.1133,1.3424,0.0336,-0.1158,1.3423,0.0331,-0.0967,1.3307,0.0509,-0.0731,1.3011,0.0704,-0.074,1.2988,0.071,-0.134,1.3567,0.01,-0.1426,1.3701,-0.018,-0.1324,1.3573,0.0095,-0.0708,1.3015,0.0765,-0.0298,1.4263,-0.084,-0.031,1.4332,-0.0888,-0.0299,1.4262,-0.0837,-0.0578,1.4227,-0.0999,-0.0574,1.4238,-0.1006,-0.0289,1.4341,-0.0826,-0.0313,1.4349,-0.0844,-0.0366,1.4332,-0.0873,-0.0364,1.4302,-0.0872,-0.0133,1.4241,-0.0725,-0.0154,1.4237,-0.0742,-0.0137,1.4204,-0.0678,-0.0139,1.422,-0.0673,-0.0159,1.4203,-0.0642,-0.0157,1.419,-0.0653,-0.014,1.4266,-0.0688,-0.0139,1.4274,-0.0698,-0.0154,1.43,-0.0694,-0.016,1.419,-0.0654,-0.0161,1.4208,-0.0663,-0.0163,1.4201,-0.0644,-0.0126,1.4241,-0.0704,-0.0126,1.4242,-0.0712,-0.0706,1.4184,-0.0997,-0.0703,1.4191,-0.1004,-0.1451,1.3728,-0.0497,-0.0598,1.424,-0.0973,-0.0481,1.4268,-0.0949,-0.0871,1.4218,-0.0924,-0.082,1.4139,-0.0983,-0.0819,1.4143,-0.0991,-0.1051,1.4115,-0.0843,-0.1335,1.3925,-0.0705,-0.1324,1.3904,-0.0746,-0.0831,1.4148,-0.0961,-0.0991,1.4052,-0.0931,-0.1002,1.406,-0.0901,-0.1165,1.3981,-0.0801,-0.1185,1.4002,-0.0742,-0.1161,1.3973,-0.0833,-0.143,1.3741,-0.0475,-0.1419,1.3753,-0.0456,-0.1434,1.3649,-0.0246,-0.1443,1.3734,-0.0487,-0.1383,1.3854,-0.0526,-0.1431,1.3789,-0.0397,-0.1399,1.3857,-0.0526,-0.0691,1.3087,0.0735,-0.0664,1.3097,0.074,-0.0655,1.3106,0.0731,-0.0662,1.3105,0.0743,-0.0688,1.3004,0.0733,-0.0679,1.3021,0.073,-0.0705,1.3041,0.0766,-0.0702,1.3015,0.0761,-0.1329,1.3479,0.004,-0.0414,1.428,-0.0928,-0.1145,1.3312,0.0301,-0.071,1.3047,0.0736,-0.0706,1.3048,0.0731,-0.071,1.3051,0.0737,-0.0707,1.3043,0.0732,-0.071,1.3043,0.0735,-0.071,1.3036,0.0733,-0.0709,1.3035,0.0732,-0.0702,1.3019,0.0755,-0.0711,1.3034,0.0743,-0.0703,1.3023,0.0728,-0.0697,1.3035,0.0726,-0.0697,1.2987,0.0736,-0.0703,1.299,0.0756,-0.0664,1.3115,0.0741,-0.0694,1.3086,0.0759,-0.0687,1.3083,0.073,-0.0691,1.3059,0.0726,-0.0709,1.301,0.073,-0.1308,1.3932,-0.0645,-0.0773,1.3184,0.0672,-0.0769,1.3181,0.0666,-0.0701,1.3141,0.0706,-0.0705,1.3144,0.0712,-0.1296,1.3883,-0.0764,-0.0993,1.4054,-0.0939,-0.1155,1.3964,-0.0861,-0.0872,1.4215,-0.0907,-0.0722,1.4196,-0.0971,-0.0732,1.4195,-0.0951,-0.076,1.4263,-0.093,-0.0715,1.4228,-0.0992,-0.1158,1.3965,-0.0867,-0.0316,1.4346,-0.0842,-0.0334,1.4359,-0.0861,-0.0338,1.4356,-0.086,-0.0245,1.4312,-0.077,-0.0238,1.4316,-0.0772,-0.0297,1.4335,-0.0823,-0.0509,1.4346,-0.0958,-0.036,1.4363,-0.088,-0.0124,1.4221,-0.0711,-0.0131,1.4203,-0.0705,-0.0186,1.4282,-0.0699,-0.013,1.4232,-0.069,-0.0166,1.4275,-0.0737,-0.0178,1.43,-0.073,-0.019,1.4219,-0.0762,-0.0215,1.4245,-0.0754,-0.0176,1.4212,-0.0767,-0.0169,1.4219,-0.0767,-0.0198,1.4302,-0.0755,-0.0188,1.4284,-0.076,-0.0177,1.4247,-0.0765,-0.034,1.433,-0.0855,-0.0321,1.4324,-0.0837,-0.1192,1.3986,-0.0845,-0.0705,1.3058,0.0732,-0.0705,1.3053,0.0731,-0.0711,1.3098,0.0698,-0.0749,1.3077,0.0734,-0.0735,1.312,0.0732,-0.0723,1.3042,0.0701,-0.0788,1.3148,0.0648,-0.0829,1.313,0.0673,-0.0807,1.3173,0.0673,-0.0854,1.3077,0.0657,-0.1211,1.4007,-0.0804,-0.0316,1.4357,-0.0866,-0.087,1.4199,-0.089,-0.0708,1.3059,0.0737,-0.0705,1.3059,0.0733});
			return r_rib5_coordinate_6_22_point;
		}

	/** 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 r_rib5 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 r_rib5().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: \"HumanoidAnimation.Skeleton.r_rib5\" 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("HumanoidAnimation.Skeleton.r_rib5 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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