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_rib6.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_rib6&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_rib6.x3d">r_rib6.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/rrib6.x3d">originals/rrib6.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_rib6.x3d" target="_blank">https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Skeleton/r_rib6.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_rib6
{
	/** Default constructor to create this object. */
	public r_rib6 ()
	{
	  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_rib6.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/rrib6.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_rib6.x3d"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("../license.html")))
  .setScene(new Scene()
    .addChild(new WorldInfo().setTitle("r_rib6.x3d"))
    .addChild(new TouchSensor().setDescription("bone r_rib6"))
    .addChild(new Transform("r_rib6")
      .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_rib6_geometry").setDEF("r_rib6_geometry").setCreaseAngle(1.571).setCoordIndex(getr_rib6_geometry_5_22_coordIndex())
          .setCoord(new Coordinate("r_rib6_coordinate").setPoint(getr_rib6_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_rib6_geometry_5_22_coordIndex_1()
		{
			int[] value = {0,1,2,-1,0,3,1,-1,4,5,6,-1,7,8,2,-1,9,10,11,-1,10,12,11,-1,13,14,15,-1,16,17,18,-1,16,18,19,-1,20,21,22,-1,22,23,20,-1,24,25,26,-1,27,28,29,-1,30,5,31,-1,5,32,31,-1,33,34,35,-1,33,36,34,-1,37,38,39,-1,40,41,42,-1,43,44,41,-1,45,46,47,-1,45,48,46,-1,49,50,51,-1,50,52,51,-1,53,54,55,-1,56,57,58,-1,56,59,57,-1,60,61,62,-1,33,63,64,-1,64,65,33,-1,66,67,68,-1,69,70,71,-1,71,72,69,-1,73,74,75,-1,73,65,74,-1,76,77,78,-1,76,79,77,-1,80,81,82,-1,80,83,81,-1,73,84,65,-1,84,85,65,-1,86,87,88,-1,86,89,87,-1,90,91,92,-1,90,93,91,-1,94,95,96,-1,94,97,95,-1,98,99,100,-1,98,101,99,-1,102,103,104,-1,102,105,103,-1,106,107,27,-1,108,109,110,-1,110,111,108,-1,112,113,114,-1,112,45,115,-1,115,113,112,-1,116,28,117,-1,116,29,28,-1,118,119,120,-1,119,121,120,-1,122,123,124,-1,125,126,38,-1,125,127,126,-1,128,129,127,-1,130,131,132,-1,132,107,130,-1,133,134,135,-1,133,136,134,-1,137,25,24,-1,24,138,137,-1,139,26,20,-1,20,140,139,-1,141,142,143,-1,143,144,141,-1,145,146,147,-1,89,141,144,-1,89,86,141,-1,148,133,149,-1,133,150,149,-1,151,82,152,-1,151,80,82,-1,125,37,87,-1,125,38,37,-1,130,153,108,-1,108,154,130,-1,155,54,53,-1,62,61,17,-1,156,53,59,-1,156,155,53,-1,157,158,159,-1,160,161,162,-1,163,164,165,-1,52,166,51,-1,167,168,169,-1,169,170,167,-1,162,12,171,-1,162,11,12,-1,172,173,174,-1,173,175,174,-1,176,10,177,-1,14,13,178,-1,13,179,178,-1,180,178,181,-1,182,183,184,-1,185,186,187,-1,185,188,186,-1,189,187,190,-1,175,191,180,-1,180,174,175,-1,192,193,194,-1,194,195,192,-1,196,197,167,-1,167,170,196,-1,198,199,200,-1,198,201,199,-1,186,202,203,-1,186,204,202,-1,173,205,206,-1,173,207,205,-1,208,209,210,-1,187,211,185,-1,174,212,172,-1,174,213,212,-1,53,55,214,-1,32,5,215,-1,216,30,31,-1,206,175,173,-1,206,195,175,-1,217,192,210,-1,192,208,210,-1,199,201,218,-1,218,219,199,-1,149,220,148,-1,220,221,148,-1,222,223,224,-1,223,225,224,-1,226,227,144,-1,226,228,227,-1,134,229,230,-1,20,231,140,-1,20,23,231,-1,232,233,234,-1,232,235,233,-1,200,236,237,-1,236,238,237,-1,107,153,130,-1,107,106,153,-1,147,239,240,-1,99,94,96,-1,129,241,127,-1,129,242,241,-1,39,243,244,-1,244,92,39,-1,245,246,247,-1,244,243,152,-1,243,151,152,-1,244,248,249,-1,244,152,248,-1,250,251,252,-1,252,78,250,-1,249,253,254,-1,249,248,253,-1,94,101,255,-1,94,99,101,-1,256,257,258,-1,256,259,257,-1,260,261,262,-1,260,263,261,-1,263,264,265,-1,263,260,264,-1,266,265,267,-1,267,268,266,-1,269,64,63,-1,131,130,154,-1,154,270,131,-1,36,271,34,-1,36,85,271,-1,272,273,270,-1,270,154,272,-1,274,40,275,-1,276,18,17,-1,17,61,276,-1,274,46,56,-1,46,48,56,-1,158,157,276,-1,277,278,279,-1,277,280,278,-1,281,282,30,-1,282,6,30,-1,283,284,285,-1,283,286,284,-1,287,238,288,-1,288,289,287,-1,188,283,204,-1,204,186,188,-1,204,290,202,-1,204,291,290,-1,188,286,283,-1,188,292,286,-1,293,157,294,-1,293,276,157,-1,269,62,55,-1,269,295,62,-1,274,56,58,-1,110,49,296,-1,110,297,49,-1,46,274,275,-1,298,273,299,-1,298,270,273,-1,54,64,269,-1,300,131,301,-1,300,132,131,-1,74,265,264,-1,74,267,265,-1,117,103,116,-1,117,302,103,-1,303,304,305,-1,303,306,304,-1,262,307,308,-1,262,261,307,-1,309,97,310,-1,310,311,309,-1,100,312,98,-1,100,313,312,-1,314,308,307,-1,314,79,308,-1,315,97,309,-1,315,95,97,-1,254,253,314,-1,314,313,254,-1,316,252,309,-1,252,315,309,-1,90,254,317,-1,90,249,254,-1,92,249,90,-1,92,244,249,-1,247,246,83,-1,246,81,83,-1,68,247,83,-1,68,318,247,-1,89,227,87,-1,227,125,87,-1,222,319,223,-1,319,320,223,-1,321,118,120,-1,120,105,321,-1,322,86,323,-1,322,141,86,-1,162,324,160,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=2 */
		private int[] getr_rib6_geometry_5_22_coordIndex_2()
		{
			int[] value = {162,325,324,-1,326,327,328,-1,293,43,19,-1,293,44,43,-1,229,329,330,-1,229,136,329,-1,331,332,231,-1,231,23,331,-1,146,239,147,-1,223,320,333,-1,221,70,138,-1,221,220,70,-1,197,196,334,-1,206,208,195,-1,208,192,195,-1,41,40,274,-1,5,4,60,-1,60,215,5,-1,85,36,65,-1,169,335,170,-1,187,189,211,-1,189,336,211,-1,212,337,338,-1,338,172,212,-1,339,334,340,-1,339,190,334,-1,190,197,334,-1,200,199,213,-1,213,236,200,-1,195,191,175,-1,195,194,191,-1,185,211,201,-1,194,14,191,-1,237,198,200,-1,237,341,198,-1,191,14,180,-1,14,178,180,-1,179,342,181,-1,181,178,179,-1,176,343,344,-1,344,10,176,-1,236,213,174,-1,174,180,236,-1,345,346,171,-1,30,6,5,-1,51,165,296,-1,296,49,51,-1,163,284,347,-1,163,166,284,-1,341,292,198,-1,341,286,292,-1,198,292,201,-1,348,349,350,-1,350,351,348,-1,118,321,47,-1,47,352,118,-1,298,73,301,-1,298,84,73,-1,70,137,138,-1,70,69,137,-1,136,229,134,-1,229,330,240,-1,330,353,240,-1,224,137,69,-1,69,222,224,-1,354,226,143,-1,226,144,143,-1,148,136,133,-1,148,329,136,-1,73,75,301,-1,75,300,301,-1,320,355,356,-1,320,319,355,-1,228,125,227,-1,245,318,357,-1,245,247,318,-1,117,358,359,-1,117,28,358,-1,121,106,27,-1,27,29,121,-1,153,106,121,-1,121,119,153,-1,96,100,99,-1,96,317,100,-1,109,352,110,-1,92,360,39,-1,92,91,360,-1,317,96,93,-1,93,90,317,-1,227,89,144,-1,81,250,82,-1,250,361,82,-1,362,83,80,-1,362,68,83,-1,75,264,305,-1,75,74,264,-1,355,362,356,-1,250,81,251,-1,34,271,216,-1,56,48,156,-1,156,59,56,-1,363,297,47,-1,47,46,363,-1,49,297,363,-1,363,50,49,-1,166,165,51,-1,166,163,165,-1,114,54,155,-1,42,50,40,-1,42,350,50,-1,297,110,47,-1,110,352,47,-1,275,363,46,-1,216,35,34,-1,216,31,35,-1,33,65,36,-1,54,269,55,-1,239,230,229,-1,229,240,239,-1,20,25,21,-1,20,26,25,-1,23,22,331,-1,19,43,16,-1,57,43,58,-1,57,16,43,-1,9,235,364,-1,2,365,0,-1,2,8,365,-1,366,7,2,-1,7,366,367,-1,222,72,319,-1,222,69,72,-1,4,61,60,-1,4,368,61,-1,62,214,55,-1,62,17,214,-1,324,158,160,-1,158,324,159,-1,156,114,155,-1,114,156,112,-1,42,351,350,-1,42,369,351,-1,370,157,159,-1,370,294,157,-1,281,233,282,-1,233,281,371,-1,303,264,260,-1,305,264,303,-1,257,262,308,-1,257,259,262,-1,319,66,355,-1,319,72,66,-1,68,355,66,-1,68,362,355,-1,360,37,39,-1,360,372,37,-1,373,374,375,-1,373,302,374,-1,47,115,45,-1,47,321,115,-1,108,119,109,-1,153,119,108,-1,310,359,358,-1,359,310,255,-1,71,376,67,-1,71,377,376,-1,376,357,318,-1,357,376,378,-1,379,148,221,-1,379,329,148,-1,142,239,143,-1,142,230,239,-1,145,380,381,-1,145,382,380,-1,383,331,384,-1,383,332,331,-1,225,21,224,-1,225,22,21,-1,354,239,146,-1,354,143,239,-1,231,353,140,-1,231,385,353,-1,140,330,139,-1,353,330,140,-1,384,386,383,-1,333,386,384,-1,129,386,242,-1,387,386,129,-1,150,323,388,-1,323,150,322,-1,389,356,362,-1,356,389,241,-1,378,124,357,-1,122,124,378,-1,272,280,277,-1,272,111,280,-1,299,84,298,-1,299,390,84,-1,348,370,391,-1,370,348,351,-1,284,341,347,-1,284,286,341,-1,335,345,392,-1,335,169,345,-1,344,12,10,-1,392,12,344,-1,2,207,338,-1,2,1,207,-1,14,193,15,-1,14,194,193,-1,13,176,179,-1,176,13,343,-1,342,364,326,-1,364,342,177,-1,168,290,346,-1,168,202,290,-1,237,347,341,-1,393,347,237,-1,182,196,170,-1,182,217,196,-1,202,167,203,-1,167,202,168,-1,189,394,336,-1,189,395,394,-1,396,212,219,-1,337,212,396,-1,209,334,210,-1,209,340,334,-1,211,218,201,-1,397,211,336,-1,211,397,218,-1,340,398,399,-1,398,340,209,-1,399,339,340,-1,339,399,0,-1,158,61,368,-1,158,276,61,-1,215,62,295,-1,60,62,215,-1,35,63,33,-1,63,35,400,-1,0,395,339,-1,0,365,395,-1,207,3,205,-1,1,3,207,-1,381,387,401,-1,387,381,380,-1,320,241,242,-1,320,356,241,-1,382,147,385,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=3 */
		private int[] getr_rib6_geometry_5_22_coordIndex_3()
		{
			int[] value = {382,145,147,-1,26,379,24,-1,26,139,379,-1,343,183,344,-1,183,343,184,-1,44,42,41,-1,42,44,369,-1,279,402,403,-1,404,402,279,-1,278,296,165,-1,278,280,296,-1,164,287,405,-1,164,393,287,-1,327,232,402,-1,232,327,326,-1,328,289,288,-1,328,327,289,-1,182,335,183,-1,182,170,335,-1,118,109,119,-1,352,109,118,-1,406,220,149,-1,377,220,406,-1,387,128,401,-1,129,128,387,-1,88,323,86,-1,323,88,123,-1,72,67,66,-1,67,72,71,-1,39,126,243,-1,38,126,39,-1,407,357,124,-1,357,407,245,-1,93,408,91,-1,408,93,409,-1,81,410,251,-1,81,246,410,-1,96,409,93,-1,409,96,95,-1,252,76,78,-1,316,76,252,-1,314,77,79,-1,253,77,314,-1,254,100,317,-1,254,313,100,-1,257,316,258,-1,76,316,257,-1,314,312,313,-1,314,307,312,-1,316,311,258,-1,316,309,311,-1,411,307,261,-1,411,312,307,-1,358,311,310,-1,358,412,311,-1,413,375,411,-1,413,373,375,-1,412,306,256,-1,414,306,412,-1,302,359,374,-1,302,117,359,-1,304,414,415,-1,306,414,304,-1,266,373,413,-1,373,266,104,-1,305,300,75,-1,305,304,300,-1,105,116,103,-1,116,105,120,-1,415,300,304,-1,415,132,300,-1,65,267,74,-1,267,65,64,-1,54,113,64,-1,54,114,113,-1,299,416,417,-1,416,299,273,-1,58,41,274,-1,41,58,43,-1,293,369,44,-1,294,369,293,-1,404,278,405,-1,404,279,278,-1,418,391,419,-1,418,348,391,-1,326,235,232,-1,235,326,364,-1,285,418,291,-1,285,420,418,-1,171,325,162,-1,171,346,325,-1,238,180,288,-1,238,236,180,-1,217,334,196,-1,210,334,217,-1,213,219,212,-1,213,199,219,-1,346,169,168,-1,169,346,345,-1,182,15,193,-1,184,15,182,-1,285,204,283,-1,204,285,291,-1,405,289,404,-1,405,287,289,-1,418,290,291,-1,290,418,419,-1,420,284,166,-1,285,284,420,-1,324,419,391,-1,419,324,325,-1,166,349,420,-1,166,52,349,-1,402,234,403,-1,402,232,234,-1,403,417,416,-1,417,403,234,-1,350,52,50,-1,52,350,349,-1,293,18,276,-1,19,18,293,-1,277,273,272,-1,277,416,273,-1,281,216,271,-1,30,216,281,-1,301,270,298,-1,270,301,131,-1,64,268,267,-1,268,64,113,-1,132,27,107,-1,132,415,27,-1,102,266,268,-1,104,266,102,-1,263,266,413,-1,263,265,266,-1,27,414,28,-1,414,27,415,-1,412,28,414,-1,28,412,358,-1,256,303,259,-1,306,303,256,-1,413,261,263,-1,413,411,261,-1,255,374,359,-1,255,101,374,-1,412,258,311,-1,412,256,258,-1,98,411,375,-1,411,98,312,-1,410,95,315,-1,410,409,95,-1,361,253,248,-1,361,77,253,-1,315,251,410,-1,251,315,252,-1,246,409,410,-1,408,409,246,-1,82,248,152,-1,361,248,82,-1,407,91,408,-1,407,360,91,-1,372,407,124,-1,372,360,407,-1,389,243,126,-1,389,151,243,-1,122,406,388,-1,406,122,378,-1,228,401,128,-1,228,226,401,-1,71,220,377,-1,71,70,220,-1,348,420,349,-1,418,420,348,-1,339,189,190,-1,339,395,189,-1,9,177,10,-1,364,177,9,-1,238,393,237,-1,238,287,393,-1,165,405,278,-1,164,405,165,-1,404,327,402,-1,289,327,404,-1,279,416,277,-1,279,403,416,-1,234,371,417,-1,234,233,371,-1,9,6,282,-1,9,11,6,-1,385,240,353,-1,147,240,385,-1,354,401,226,-1,381,401,354,-1,333,225,223,-1,384,225,333,-1,322,142,141,-1,142,322,135,-1,205,398,209,-1,205,3,398,-1,367,421,7,-1,396,421,367,-1,400,31,32,-1,400,35,31,-1,295,32,215,-1,295,400,32,-1,400,269,63,-1,295,269,400,-1,395,8,394,-1,395,365,8,-1,367,337,396,-1,337,367,366,-1,366,338,337,-1,338,366,2,-1,7,394,8,-1,421,394,7,-1,397,421,218,-1,336,421,397,-1,421,336,394,-1,206,209,208,-1,206,205,209,-1,421,219,218,-1,396,219,421,-1,185,292,188,-1,292,185,201,-1,203,197,190,-1,167,197,203,-1,192,182,193,-1,217,182,192,-1,190,186,203,-1,187,186,190,-1,393,163,347,-1,164,163,393,-1,346,419,325,-1,346,290,419,-1,179,177,342,-1,177,179,176,-1,343,15,184,-1,343,13,15,-1,338,173,172,-1,338,207,173,-1,11,161,6,-1,161,11,162,-1,392,171,12,-1,392,345,171,-1,161,158,368,-1,161,160,158,-1,159,391,370,-1,159,324,391,-1,214,59,53,-1,59,214,57,-1};
			return value;
		}

		/** Define subarray values using type int[] with $tupleSize=1 and $tupleSplitSize=1000 for subarray position()=4 */
		private int[] getr_rib6_geometry_5_22_coordIndex_4()
		{
			int[] value = {390,417,371,-1,417,390,299,-1,108,272,154,-1,108,111,272,-1,124,88,372,-1,88,124,123,-1,67,318,68,-1,376,318,67,-1,241,126,127,-1,241,389,126,-1,362,151,389,-1,362,80,151,-1,388,149,150,-1,149,388,406,-1,322,133,135,-1,322,150,133,-1,387,383,386,-1,380,383,387,-1,242,333,320,-1,242,386,333,-1,379,330,329,-1,379,139,330,-1,332,385,231,-1,385,332,382,-1,24,221,138,-1,24,379,221,-1,21,137,224,-1,21,25,137,-1,22,384,331,-1,384,22,225,-1,382,383,380,-1,382,332,383,-1,146,381,354,-1,146,145,381,-1,135,230,142,-1,135,134,230,-1,128,125,228,-1,128,127,125,-1,377,378,376,-1,378,377,406,-1,123,388,323,-1,123,122,388,-1,121,116,120,-1,121,29,116,-1,255,97,94,-1,255,310,97,-1,268,115,102,-1,113,115,268,-1,110,280,111,-1,296,280,110,-1,321,102,115,-1,321,105,102,-1,104,302,373,-1,104,103,302,-1,375,101,98,-1,375,374,101,-1,372,87,37,-1,372,88,87,-1,371,271,390,-1,371,281,271,-1,361,78,77,-1,78,361,250,-1,308,76,257,-1,308,79,76,-1,259,260,262,-1,259,303,260,-1,85,390,271,-1,390,85,84,-1,282,235,9,-1,282,233,235,-1,369,370,351,-1,369,294,370,-1,275,50,363,-1,275,40,50,-1,112,48,45,-1,48,112,156,-1,245,408,246,-1,245,407,408,-1,6,368,4,-1,161,368,6,-1,16,214,17,-1,16,57,214,-1,342,328,181,-1,326,328,342,-1,392,183,335,-1,344,183,392,-1,399,3,0,-1,3,399,398,-1,181,288,180,-1,288,181,328,-1};
			return value;
		}
		/** Large attribute array: IndexedFaceSet DEF='r_rib6_geometry' coordIndex field, scene-graph level=5, element #22, 3360 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_rib6_geometry_5_22_coordIndex()
		{
			MFInt32 r_rib6_geometry_5_22_coordIndex = new MFInt32()/*2.finalize*/
				.append(new MFInt32(getr_rib6_geometry_5_22_coordIndex_1()))
				.append(new MFInt32(getr_rib6_geometry_5_22_coordIndex_2()))
				.append(new MFInt32(getr_rib6_geometry_5_22_coordIndex_3()))
				.append(new MFInt32(getr_rib6_geometry_5_22_coordIndex_4()));
			return r_rib6_geometry_5_22_coordIndex;
		}
		/** Large attribute array: Coordinate DEF='r_rib6_coordinate' point field, scene-graph level=6, element #22, 1266 total numbers made up of 422 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_rib6_coordinate_6_22_point()
		{
			MFVec3f r_rib6_coordinate_6_22_point = new MFVec3f(new double[] {-0.0156,1.3988,-0.0747,-0.0158,1.3985,-0.0745,-0.0158,1.3984,-0.0745,-0.0158,1.3989,-0.0744,-0.0271,1.4083,-0.0874,-0.0273,1.4086,-0.0874,-0.0243,1.4081,-0.0847,-0.0157,1.3982,-0.0748,-0.0157,1.3984,-0.0749,-0.0206,1.4078,-0.0812,-0.019,1.4082,-0.0797,-0.0206,1.4078,-0.0817,-0.0187,1.4082,-0.0798,-0.0199,1.4047,-0.0765,-0.0196,1.4016,-0.0754,-0.0194,1.4046,-0.0759,-0.0299,1.4034,-0.093,-0.0294,1.4059,-0.0935,-0.0281,1.4041,-0.092,-0.0286,1.4021,-0.0916,-0.0789,1.2806,0.0721,-0.0773,1.2815,0.0726,-0.0776,1.281,0.0734,-0.0791,1.2796,0.073,-0.0776,1.2803,0.071,-0.0772,1.2814,0.0722,-0.0785,1.2802,0.0714,-0.0758,1.4004,-0.105,-0.093,1.3925,-0.0999,-0.0753,1.4,-0.1058,-0.0275,1.409,-0.0873,-0.0313,1.4101,-0.0909,-0.031,1.4091,-0.091,-0.0368,1.411,-0.0963,-0.0327,1.4112,-0.0921,-0.0324,1.4103,-0.0923,-0.0372,1.4119,-0.0953,-0.1112,1.2855,0.0516,-0.1104,1.2879,0.0531,-0.1293,1.3012,0.0313,-0.0332,1.3979,-0.0924,-0.0307,1.3987,-0.0925,-0.0281,1.3988,-0.0891,-0.0303,1.4005,-0.0929,-0.0289,1.4001,-0.0906,-0.0374,1.4021,-0.0991,-0.0377,1.4012,-0.0981,-0.0384,1.4011,-0.0982,-0.0372,1.402,-0.0989,-0.0337,1.398,-0.092,-0.0333,1.3979,-0.0922,-0.0267,1.3973,-0.0858,-0.0262,1.3976,-0.086,-0.0339,1.4061,-0.0977,-0.0359,1.4089,-0.0979,-0.0325,1.4079,-0.0953,-0.0347,1.4017,-0.0971,-0.0321,1.4034,-0.0955,-0.0318,1.401,-0.0951,-0.0343,1.4038,-0.0974,-0.0296,1.4081,-0.091,-0.028,1.4065,-0.0909,-0.03,1.4083,-0.0931,-0.0367,1.4101,-0.0969,-0.0528,1.4103,-0.1074,-0.0539,1.4127,-0.1044,-0.0947,1.2927,0.0627,-0.0945,1.2923,0.0617,-0.1061,1.3002,0.0548,-0.0777,1.2826,0.072,-0.0784,1.2818,0.0698,-0.0825,1.2848,0.0679,-0.0823,1.2855,0.07,-0.0546,1.4124,-0.1039,-0.0663,1.4111,-0.1066,-0.0665,1.4109,-0.1056,-0.1436,1.3664,-0.0574,-0.1483,1.3551,-0.037,-0.1471,1.3552,-0.037,-0.1446,1.3663,-0.0579,-0.1241,1.3151,0.0344,-0.1366,1.3295,0.0118,-0.137,1.3294,0.0119,-0.1239,1.3151,0.034,-0.039,1.4104,-0.0936,-0.0381,1.4119,-0.0944,-0.0875,1.2706,0.0638,-0.1004,1.2779,0.058,-0.1004,1.2778,0.0572,-0.0875,1.2705,0.0647,-0.1487,1.3307,-0.0174,-0.1397,1.3157,0.0059,-0.1406,1.3163,0.0067,-0.147,1.3299,-0.0183,-0.1393,1.3596,-0.0648,-0.1439,1.3471,-0.0424,-0.1476,1.3455,-0.0436,-0.1374,1.3606,-0.0625,-0.1318,1.3695,-0.083,-0.1408,1.3588,-0.0665,-0.1417,1.3589,-0.0667,-0.1311,1.3695,-0.0827,-0.0622,1.3996,-0.1109,-0.0747,1.3964,-0.1115,-0.0748,1.3966,-0.1121,-0.0623,1.3993,-0.1103,-0.0637,1.4024,-0.1054,-0.0644,1.4031,-0.1048,-0.0396,1.4011,-0.0954,-0.0393,1.4008,-0.0961,-0.0368,1.3997,-0.0938,-0.037,1.4007,-0.0927,-0.0368,1.4038,-0.0998,-0.0519,1.4065,-0.1083,-0.0365,1.4063,-0.0992,-0.0514,1.403,-0.1086,-0.0746,1.3979,-0.1095,-0.0936,1.3914,-0.1039,-0.0526,1.4028,-0.1064,-0.0533,1.402,-0.105,-0.0627,1.4003,-0.1084,-0.0634,1.4016,-0.1063,-0.0988,1.2816,0.0557,-0.0995,1.2801,0.0556,-0.1084,1.287,0.0503,-0.0997,1.2803,0.0602,-0.1092,1.2915,0.0548,-0.0987,1.2834,0.0627,-0.0861,1.2758,0.0707,-0.0852,1.2775,0.0717,-0.0544,1.4043,-0.1034,-0.0552,1.4068,-0.1025,-0.0655,1.4049,-0.1035,-0.0802,1.2713,0.0674,-0.0808,1.2695,0.0678,-0.0807,1.2692,0.0674,-0.0802,1.2713,0.0679,-0.0771,1.2817,0.0722,-0.0775,1.2805,0.0707,-0.0799,1.2791,0.0706,-0.0803,1.2789,0.0715,-0.0822,1.2675,0.0671,-0.0815,1.2678,0.0675,-0.0818,1.2677,0.0683,-0.0824,1.2676,0.0678,-0.0807,1.2723,0.0731,-0.081,1.2703,0.0714,-0.0823,1.2725,0.0712,-0.0794,1.2752,0.0683,-0.0801,1.2758,0.0671,-0.0812,1.2719,0.0663,-0.1259,1.3111,0.0344,-0.1386,1.3261,0.0108,-0.0538,1.4025,-0.1041,-0.0397,1.4034,-0.0946,-0.0362,1.4063,-0.099,-0.0366,1.4038,-0.0996,-0.0258,1.4047,-0.0882,-0.0259,1.4055,-0.0878,-0.0256,1.4048,-0.0879,-0.0239,1.4064,-0.0853,-0.0242,1.4073,-0.085,-0.0204,1.4069,-0.0819,-0.0236,1.3962,-0.0821,-0.024,1.3966,-0.0818,-0.0272,1.3973,-0.0855,-0.023,1.3968,-0.0823,-0.0161,1.4037,-0.0765,-0.0169,1.404,-0.0774,-0.0173,1.4063,-0.0775,-0.0167,1.406,-0.0762,-0.0188,1.4066,-0.0801,-0.0166,1.3975,-0.0742,-0.0167,1.3981,-0.074,-0.0177,1.396,-0.073,-0.0179,1.3966,-0.0729,-0.0195,1.4066,-0.0786,-0.0196,1.4067,-0.0788,-0.0199,1.4017,-0.0763,-0.0199,1.4045,-0.0773,-0.0181,1.3962,-0.0732,-0.0205,1.4018,-0.0766,-0.0171,1.4057,-0.0749,-0.0177,1.4073,-0.0776,-0.0185,1.4065,-0.077,-0.0168,1.3956,-0.077,-0.0167,1.3977,-0.0774,-0.0159,1.3975,-0.0765,-0.0176,1.3958,-0.0776,-0.0159,1.3976,-0.0763,-0.0154,1.4006,-0.0759,-0.0182,1.3967,-0.0729,-0.0177,1.4036,-0.0733,-0.0181,1.4036,-0.0733,-0.0186,1.4009,-0.0729,-0.0182,1.4007,-0.0727,-0.0164,1.4055,-0.0756,-0.0157,1.4035,-0.0759,-0.017,1.3943,-0.0756,-0.0167,1.3943,-0.0745,-0.0171,1.3942,-0.0746,-0.0166,1.3946,-0.0758,-0.0169,1.4015,-0.0775,-0.016,1.4012,-0.0766,-0.0171,1.3978,-0.0777,-0.0164,1.3996,-0.0737,-0.0167,1.3998,-0.0737,-0.0164,1.3981,-0.074,-0.0162,1.4018,-0.0739,-0.0159,1.4015,-0.0738,-0.0161,1.402,-0.0739,-0.0167,1.396,-0.0767,-0.0164,1.397,-0.0743,-0.0176,1.395,-0.0733,-0.0313,1.4054,-0.0955,-0.0307,1.4085,-0.0909,-0.0313,1.4108,-0.0911,-0.0168,1.4053,-0.0745,-0.0163,1.3961,-0.0756,-0.0161,1.3964,-0.0749,-0.0791,1.2797,0.0683,-0.0785,1.279,0.0696,-0.078,1.2826,0.0731,-0.078,1.2819,0.074,-0.0772,1.282,0.0729,-0.0775,1.2812,0.0736,-0.0823,1.2693,0.0707,-0.0874,1.2712,0.0666,-0.0871,1.2723,0.0678,-0.0819,1.2724,0.0684,-0.0813,1.2684,0.0679,-0.0807,1.2783,0.0725,-0.0229,1.4051,-0.0812,-0.0253,1.4075,-0.0842,-0.0259,1.406,-0.0842,-0.0216,1.4074,-0.0815,-0.0179,1.395,-0.0734,-0.0195,1.3954,-0.0771,-0.0201,1.3966,-0.0767,-0.0816,1.2683,0.0685,-0.082,1.2724,0.0697,-0.0969,1.2881,0.0646,-0.0839,1.2803,0.0723,-0.1276,1.3073,0.0348,-0.1403,1.3222,0.0096,-0.1242,1.3077,0.0303,-0.1351,1.3236,0.0078,-0.1235,1.3106,0.0312,-0.1474,1.34,-0.0117,-0.1492,1.3344,-0.0151,-0.1447,1.3421,-0.011,-0.1439,1.3422,-0.0119,-0.1452,1.3552,-0.0372,-0.1499,1.354,-0.0377,-0.1506,1.3489,-0.0415,-0.1305,1.3711,-0.0804,-0.1179,1.3869,-0.0865,-0.1338,1.3775,-0.0747,-0.1325,1.3772,-0.0744,-0.1196,1.3872,-0.0873,-0.0969,1.3997,-0.1012,-0.1214,1.3862,-0.0909,-0.1205,1.3871,-0.0882,-0.0971,1.3984,-0.1033,-0.0793,1.4074,-0.1062,-0.0786,1.4057,-0.1085,-0.0765,1.4009,-0.1108,-0.0639,1.409,-0.1087,-0.0622,1.4043,-0.1099,-0.0363,1.4095,-0.0968,-0.0399,1.4063,-0.0937,-0.0338,1.4111,-0.0916,-0.0367,1.4029,-0.0919,-0.0361,1.406,-0.0911,-0.034,1.3994,-0.096,-0.0361,1.399,-0.0951,-0.027,1.4048,-0.0905,-0.0324,1.4023,-0.0885,-0.0277,1.3986,-0.0848,-0.0272,1.4014,-0.0843,-0.0329,1.3999,-0.0895,-0.0281,1.409,-0.087,-0.0247,1.4082,-0.0845,-0.0179,1.3958,-0.078,-0.0212,1.3958,-0.08,-0.0201,1.3971,-0.0805,-0.0188,1.3952,-0.0775,-0.0223,1.3971,-0.0788,-0.0204,1.3988,-0.0765,-0.022,1.4001,-0.0787,-0.019,1.4021,-0.0806,-0.0194,1.3985,-0.0806,-0.0171,1.3946,-0.0762,-0.0279,1.402,-0.09,-0.0265,1.4015,-0.0882,-0.0323,1.409,-0.0929,-0.0332,1.3987,-0.0911,-0.0367,1.3991,-0.0946,-0.0395,1.4087,-0.0935,-0.0355,1.4083,-0.0911,-0.0664,1.4083,-0.1029,-0.0551,1.4095,-0.1027,-0.0937,1.3901,-0.1067,-0.0965,1.3996,-0.1001,-0.0784,1.4055,-0.1028,-0.0792,1.4072,-0.1051,-0.0951,1.3986,-0.0979,-0.1358,1.3756,-0.0774,-0.1348,1.3773,-0.0752,-0.1394,1.3636,-0.059,-0.1295,1.3712,-0.0766,-0.1311,1.3741,-0.0748,-0.1336,1.3724,-0.0831,-0.1437,1.3607,-0.0639,-0.146,1.3652,-0.0591,-0.143,1.3518,-0.0393,-0.142,1.3661,-0.0569,-0.149,1.3453,-0.0437,-0.1065,1.2969,0.0531,-0.0825,1.2856,0.0714,-0.0831,1.2839,0.072,-0.0517,1.4024,-0.1079,-0.082,1.2698,0.0663,-0.0872,1.273,0.0625,-0.0236,1.4049,-0.0857,-0.0203,1.4051,-0.0823,-0.0209,1.4045,-0.0788,-0.0216,1.4025,-0.0786,-0.0211,1.4022,-0.0777,-0.0796,1.2751,0.0687,-0.0809,1.2757,0.0697,-0.0784,1.2786,0.0742,-0.0792,1.2761,0.0742,-0.0789,1.279,0.0749,-0.0156,1.4021,-0.0749,-0.0175,1.4072,-0.0778,-0.0164,1.3966,-0.0763,-0.0161,1.3972,-0.0743,-0.0162,1.3977,-0.0741,-0.0154,1.4003,-0.0756,-0.0154,1.4016,-0.0748,-0.0192,1.3951,-0.0774,-0.0203,1.4046,-0.0778,-0.0193,1.4067,-0.078,-0.0186,1.4081,-0.0792,-0.0186,1.4066,-0.0799,-0.0188,1.4048,-0.0804,-0.0216,1.3958,-0.0798,-0.0247,1.3997,-0.0862,-0.0255,1.3984,-0.0863,-0.0279,1.3986,-0.0889,-0.0272,1.3996,-0.0884,-0.0391,1.4012,-0.0971,-0.0813,1.2756,0.0707,-0.0812,1.2696,0.0711,-0.0949,1.2929,0.0641,-0.0954,1.2916,0.0643,-0.1068,1.2924,0.0513,-0.1141,1.3815,-0.0897,-0.116,1.3806,-0.0927,-0.129,1.3009,0.0307,-0.1456,1.3419,-0.0109,-0.106,1.3001,0.0562,-0.0364,1.399,-0.0949,-0.0205,1.407,-0.0801,-0.0156,1.3986,-0.0749,-0.0157,1.3982,-0.0746,-0.0157,1.3981,-0.0747,-0.0267,1.4073,-0.0876,-0.0273,1.3997,-0.0886,-0.0263,1.4015,-0.088,-0.0286,1.4083,-0.0867,-0.1111,1.2853,0.051,-0.0941,1.3904,-0.1074,-0.1169,1.3793,-0.0952,-0.1176,1.3794,-0.0957,-0.0954,1.2897,0.0593,-0.0846,1.2823,0.0652,-0.097,1.2855,0.0571,-0.0787,1.2789,0.0698,-0.08,1.2741,0.0743,-0.0808,1.2721,0.0733,-0.08,1.2741,0.074,-0.0792,1.2761,0.0746,-0.0784,1.2787,0.0745,-0.0816,1.2753,0.0722,-0.0796,1.2765,0.075,-0.0805,1.2742,0.0747,-0.0865,1.2753,0.0626,-0.1075,1.2958,0.0569,-0.0351,1.4099,-0.0911,-0.024,1.4019,-0.086,-0.0184,1.4082,-0.0794,-0.0219,1.3961,-0.0793,-0.0161,1.397,-0.0759,-0.0157,1.3978,-0.0759,-0.0159,1.3967,-0.0748,-0.0163,1.3962,-0.0757,-0.0157,1.3991,-0.0745,-0.0156,1.3989,-0.0747,-0.0324,1.4095,-0.0927,-0.0813,1.2722,0.0734,-0.0238,1.4034,-0.081,-0.0268,1.404,-0.0839,-0.0242,1.4009,-0.0811,-0.0244,1.3979,-0.0813,-0.0858,1.2788,0.0634,-0.1259,1.3032,0.0294,-0.1363,1.3182,0.0054,-0.1433,1.3323,-0.0178,-0.1424,1.3369,-0.0152,-0.1201,1.3814,-0.0947,-0.1159,1.3843,-0.0877,-0.0965,1.3931,-0.106,-0.0937,1.3953,-0.0984,-0.0769,1.4023,-0.1034,-0.0317,1.4049,-0.0877,-0.0299,1.4068,-0.0872,-0.0213,1.399,-0.0826,-0.0207,1.4022,-0.0824,-0.0219,1.3978,-0.0825,-0.016,1.3966,-0.0754});
			return r_rib6_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_rib6 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_rib6().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_rib6\" 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_rib6 self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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