<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package X3dForAdvancedModeling.AdditiveManufacturing;

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.Lighting.*;
import org.web3d.x3d.jsail.Navigation.*;
import org.web3d.x3d.jsail.Shape.*;

// Javadoc metadata annotations follow, see below for X3DJSAIL Java source code.
/**
 * &lt;p&gt; A methylxanthine naturally occurring in some beverages and also used as a pharmacological agent. Caffeine's most notable pharmacological effect is as a central nervous system stimulant, increasing alertness and producing agitation. It also relaxes SMOOTH MUSCLE, stimulates CARDIAC MUSCLE, stimulates DIURESIS, and appears to be useful in the treatment of some types of headache. Several cellular actions of caffeine have been observed, but it is not entirely clear how each contributes to its pharmacological profile. Among the most important are inhibition of cyclic nucleotide PHOSPHODIESTERASES, antagonism of ADENOSINE RECEPTORS, and modulation of intracellular calcium handling. &lt;/p&gt;
 &lt;p&gt; Related links: Catalog page &lt;a href="../../../AdditiveManufacturing/CaffeinePubChem2519SticksColorIndex.html" target="_blank"&gt;CaffeinePubChem2519SticksColor&lt;/a&gt;,  source &lt;a href="../../../AdditiveManufacturing/CaffeinePubChem2519SticksColor.java"&gt;CaffeinePubChem2519SticksColor.java&lt;/a&gt;, &lt;a href="https://www.web3d.org/x3d/content/examples/X3dResources.html" target="_blank"&gt;X3D Resources&lt;/a&gt;, &lt;a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html" target="_blank"&gt;X3D Scene Authoring Hints&lt;/a&gt;, and &lt;a href="https://www.web3d.org/x3d/content/X3dTooltips.html" target="_blank"&gt;X3D Tooltips&lt;/a&gt;. &lt;/p&gt;
	&lt;table style="color:black; border:0px solid; border-spacing:10px 0px;"&gt;
        &lt;caption&gt;Scene Meta Information&lt;/caption&gt;
		&lt;tr style="background-color:silver; border-color:silver;"&gt;
			&lt;td style="text-align:center; padding:10px 0px;"&gt;&lt;i&gt;meta tags&lt;/i&gt;&lt;/td&gt;
			&lt;td style="text-align:left;   padding:10px 0px;"&gt;&amp;nbsp; Document Metadata &lt;/td&gt;
		&lt;/tr&gt;

		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; title &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="../../../AdditiveManufacturing/CaffeinePubChem2519SticksColor.x3d"&gt;CaffeinePubChem2519SticksColor.x3d&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; creator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; Darrell Hurt &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; description &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; A methylxanthine naturally occurring in some beverages and also used as a pharmacological agent. Caffeine's most notable pharmacological effect is as a central nervous system stimulant, increasing alertness and producing agitation. It also relaxes SMOOTH MUSCLE, stimulates CARDIAC MUSCLE, stimulates DIURESIS, and appears to be useful in the treatment of some types of headache. Several cellular actions of caffeine have been observed, but it is not entirely clear how each contributes to its pharmacological profile. Among the most important are inhibition of cyclic nucleotide PHOSPHODIESTERASES, antagonism of ADENOSINE RECEPTORS, and modulation of intracellular calcium handling. &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; created &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; 5 April 2015 &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; translated &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; 3 April 2017 &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; modified &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; 2 September 2024 &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; translator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; Don Brutzman &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; Image &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="../../../AdditiveManufacturing/CaffeinePubChem2519SticksColor.png"&gt;CaffeinePubChem2519SticksColor.png&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; TODO &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; CaffeinePubChem2519Modifications.txt &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; Image &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="../../../AdditiveManufacturing/CaffeinePubChem2519-3dpx-001005.qr.png"&gt;CaffeinePubChem2519-3dpx-001005.qr.png&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; reference &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; CaffeinePubChem2519Sticks.blender.stl &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; reference &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="../../../AdditiveManufacturing/originals/PubChem-2519-sticks-color.x3d"&gt;originals/PubChem-2519-sticks-color.x3d&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; reference &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; originals/PubChem-2519-sticks-color.wrl &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; reference &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; originals/PubChem-2519-sticks-color.stl.zip (7.8MB uncompressed) &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; reference &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="https://3dprint.nih.gov/discover/3dpx-001005" target="_blank"&gt;https://3dprint.nih.gov/discover/3dpx-001005&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; license &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="https://3dprint.nih.gov/license/public-domain" target="_blank"&gt;https://3dprint.nih.gov/license/public-domain&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; subject &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; NIH 3DPX caffeine Methyltheobromine Guaranine Cafeina Koffein Mateina 1,3,7-Trimethylxanthine Thein &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; identifier &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; &lt;a href="https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AdditiveManufacturing/CaffeinePubChem2519SticksColor.x3d" target="_blank"&gt;https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AdditiveManufacturing/CaffeinePubChem2519SticksColor.x3d&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; generator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; UCSF Chimera, &lt;a href="http://www.cgl.ucsf.edu/chimera" target="_blank"&gt;http://www.cgl.ucsf.edu/chimera&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; generator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; X3D-Edit 4.0, &lt;a href="https://savage.nps.edu/X3D-Edit" target="_blank"&gt;https://savage.nps.edu/X3D-Edit&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; generator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; X3D Tidy, &lt;a href="https://www.web3d.org/x3d/stylesheets/X3dTidy.html" target="_blank"&gt;https://www.web3d.org/x3d/stylesheets/X3dTidy.html&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td style="text-align:right; vertical-align: text-top;"&gt; &lt;i&gt; generator &lt;/i&gt; &lt;/td&gt;
			&lt;td&gt; X3D Validator, &lt;a href="https://savage.nps.edu/X3dValidator" target="_blank"&gt;https://savage.nps.edu/X3dValidator&lt;/a&gt; &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr style="background-color:silver; border-color:silver;"&gt;
			&lt;td style="text-align:center;" colspan="2"&gt;  &amp;nbsp; &lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;

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

	* @author Darrell Hurt
 */

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

	/** Create and initialize the X3D model for this object. */
	public final void initialize()
	{
            try { // catch-all
  x3dModel = new X3D().setProfile(X3D.PROFILE_INTERCHANGE).setVersion(X3D.VERSION_3_3)
  .setHead(new head()
    .addMeta(new meta().setName(meta.NAME_TITLE      ).setContent("CaffeinePubChem2519SticksColor.x3d"))
    .addMeta(new meta().setName(meta.NAME_CREATOR    ).setContent("Darrell Hurt"))
    .addMeta(new meta().setName(meta.NAME_DESCRIPTION).setContent("A methylxanthine naturally occurring in some beverages and also used as a pharmacological agent. Caffeine's most notable pharmacological effect is as a central nervous system stimulant, increasing alertness and producing agitation. It also relaxes SMOOTH MUSCLE, stimulates CARDIAC MUSCLE, stimulates DIURESIS, and appears to be useful in the treatment of some types of headache. Several cellular actions of caffeine have been observed, but it is not entirely clear how each contributes to its pharmacological profile. Among the most important are inhibition of cyclic nucleotide PHOSPHODIESTERASES, antagonism of ADENOSINE RECEPTORS, and modulation of intracellular calcium handling."))
    .addMeta(new meta().setName(meta.NAME_CREATED    ).setContent("5 April 2015"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATED ).setContent("3 April 2017"))
    .addMeta(new meta().setName(meta.NAME_MODIFIED   ).setContent("2 September 2024"))
    .addMeta(new meta().setName(meta.NAME_TRANSLATOR ).setContent("Don Brutzman"))
    .addMeta(new meta().setName(meta.NAME_IMAGE      ).setContent("CaffeinePubChem2519SticksColor.png"))
    .addMeta(new meta().setName(meta.NAME_TODO       ).setContent("CaffeinePubChem2519Modifications.txt"))
    .addMeta(new meta().setName(meta.NAME_IMAGE      ).setContent("CaffeinePubChem2519-3dpx-001005.qr.png"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("CaffeinePubChem2519Sticks.blender.stl"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/PubChem-2519-sticks-color.x3d"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/PubChem-2519-sticks-color.wrl"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("originals/PubChem-2519-sticks-color.stl.zip (7.8MB uncompressed)"))
    .addMeta(new meta().setName(meta.NAME_REFERENCE  ).setContent("https://3dprint.nih.gov/discover/3dpx-001005"))
    .addMeta(new meta().setName(meta.NAME_LICENSE    ).setContent("https://3dprint.nih.gov/license/public-domain"))
    .addMeta(new meta().setName(meta.NAME_SUBJECT    ).setContent("NIH 3DPX caffeine Methyltheobromine Guaranine Cafeina Koffein Mateina 1,3,7-Trimethylxanthine Thein"))
    .addMeta(new meta().setName(meta.NAME_IDENTIFIER ).setContent("https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AdditiveManufacturing/CaffeinePubChem2519SticksColor.x3d"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("UCSF Chimera, http://www.cgl.ucsf.edu/chimera"))
    .addMeta(new meta().setName(meta.NAME_GENERATOR  ).setContent("X3D-Edit 4.0, https://savage.nps.edu/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_GENERATOR  ).setContent("X3D Validator, https://savage.nps.edu/X3dValidator")))
  .setScene(new Scene()
    .addChild(new NavigationInfo().setHeadlight(false))
    .addChild(new Background().setSkyColor(new MFColor(new double[] {1.0,1.0,1.0})))
    .addChild(new WorldInfo("ModelMetadata").setTitle("CaffeinePubChem2519SticksColor.x3d")
      .addComments(" &lt;chimera:WindowSize xmlns:chimera=\"http://www.cgl.ucsf.edu/chimera/\" height='512' width='512' /&gt; ")
      .addComments(" &lt;chimera:DepthCue xmlns:chimera=\"http://www.cgl.ucsf.edu/chimera/\" color='1 1 1' range='35.2169 40.437' /&gt; ")
      .setMetadata(new MetadataSet().setName("xmlns:chimera").setReference("http://www.cgl.ucsf.edu/chimera")
        .setMetadata(new MetadataString().setName("comment").setValue(new String[] {"X3D profile limits on number of elements/colors/etc. were ignored"}))
        .setMetadata(new MetadataSet().setName("chimera:WindowSize")
          .setMetadata(new MetadataInteger().setName("height").setValue(new int[] {512}))
          .setMetadata(new MetadataInteger().setName("width").setValue(new int[] {512})))
        .setMetadata(new MetadataSet().setName("chimera:DepthCue")
          .setMetadata(new MetadataFloat().setName("color").setValue(new double[] {1.0,1.0,1.0}))
          .setMetadata(new MetadataFloat().setName("range").setValue(new double[] {35.2169,40.437})))))
    .addChild(new Viewpoint().setDescription("view 0").setCenterOfRotation(0.29605,-0.11545,0.0006).setFieldOfView(0.436332).setPosition(0.29605,-0.11545,35.2175))
    .addChild(new DirectionalLight().setDirection(-0.0,-0.0,-1.0).setIntensity(0.646154))
    .addChild(new DirectionalLight().setDirection(-0.911685,-0.341882,-0.227921).setIntensity(0.361231))
    .addChild(new DirectionalLight().setDirection(0.408248,0.408248,0.816497))
    .addChild(new DirectionalLight().setAmbientIntensity(0.15).setIntensity(0.0))
    .addChild(new Group()
      .addChild(new Transform().setBboxCenter(0.29605,-0.11545,0.0006).setBboxSize(9.8063,8.5611,3.7996)
        .setMetadata(new MetadataString().setName("model name").setValue(new String[] {"2519"}))
        .addChild(new Transform().setTranslation(0.47,2.5688,0.0006)
          .addChild(new Shape()
            .setAppearance(new Appearance("l0")
              .setMaterial(new Material().setAmbientIntensity(1).setDiffuseColor(1.0,0.0509804,0.0509804).setShininess(0.484375).setSpecularColor(0.255,0.255,0.255)))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-3.1271,-0.4436,-0.0003)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l0"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-0.9686,-1.3125,0.0)
          .addChild(new Shape()
            .setAppearance(new Appearance("l1")
              .setMaterial(new Material().setAmbientIntensity(1).setDiffuseColor(0.188235,0.313725,0.972549).setShininess(0.484375).setSpecularColor(0.255,0.255,0.255)))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(2.2182,0.1412,-0.0003)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.3477,1.0797,-0.0001)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(1.4119,-1.9372,0.0002)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(0.8579,0.2592,-0.0008)
          .addChild(new Shape()
            .setAppearance(new Appearance("l2")
              .setMaterial(new Material().setAmbientIntensity(1).setDiffuseColor(0.565,0.565,0.565).setShininess(0.484375).setSpecularColor(0.255,0.255,0.255)))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(0.3897,-1.0264,-0.0004)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(0.0307,1.422,-0.0006)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.9061,-0.2495,-0.0004)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(2.5032,-1.1998,0.0003)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.4276,-2.696,0.0008)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(3.1926,1.2061,0.0003)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-2.2969,2.1881,0.0007)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(3.5163,-1.5787,0.0008)
          .addChild(new Shape()
            .setAppearance(new Appearance("l3")
              .setMaterial(new Material().setAmbientIntensity(1).setDiffuseColor(1.0,1.0,1.0).setShininess(0.484375).setSpecularColor(0.255,0.255,0.255)))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.0451,-3.1973,-0.8937)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-2.5186,-2.7596,0.0011)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.0447,-3.1963,0.8957)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(4.1992,0.7801,0.0002)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(3.0468,1.8092,-0.8992)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(3.0466,1.8083,0.9004)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-1.8087,3.1651,-0.0003)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-2.9322,2.1027,0.8881)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setTranslation(-2.9346,2.1021,-0.8849)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Sphere().setRadius(0.8))))
        .addChild(new Transform().setRotation(-0.00273161,0.0,0.999996,2.77577).setTranslation(0.367773,2.30193,0.000320755)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l0"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.571551).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.00273161,0.0,-0.999996,0.365825).setTranslation(0.148123,1.72853,-0.000279245)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.656511).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-8.19e-05,0.0,-1.0,1.41315).setTranslation(-2.84297,-0.398432,-0.00032327)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l0"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.5754).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(8.19001e-05,-0.0,1.0,1.72845).setTranslation(-2.23247,-0.301382,-0.00037327)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.660932).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000294486,0.0,-1.0,1.3632).setTranslation(-0.636685,-1.24259,-9.77444e-05)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.678397).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000294486,-0.0,1.0,1.77839).setTranslation(0.0424654,-1.09954,-0.000297744)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.709707).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000426667,0.0,1.0,0.722746).setTranslation(-1.19769,-1.05274,-9.77444e-05)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.692689).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000426667,0.0,-1.0,2.41885).setTranslation(-1.66644,-0.521244,-0.000297744)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.724659).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.00174292,-0.0,0.999998,2.82125).setTranslation(-1.08076,-1.65057,0.000195489)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.712387).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.00174292,0.0,-0.999998,0.320341).setTranslation(-1.31026,-2.34232,0.000595489)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.745267).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000367566,0.0,1.0,1.48427).setTranslation(1.8858,0.170035,-0.00042218)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.667305).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000367566,0.0,-1.0,1.65733).setTranslation(1.20565,0.229035,-0.00067218)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.698104).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.00210526,0.0,-0.999998,2.93218).setTranslation(2.28784,-0.186488,-0.000153383)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.670014).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.00210526,0.0,0.999998,0.209413).setTranslation(2.43034,-0.856988,0.000146617)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.700937).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000615763,0.0,-1.0,0.741049).setTranslation(2.45631,0.40142,-0.000153383)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.705432).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000615764,0.0,1.0,2.40054).setTranslation(2.94351,0.93387,0.000146617)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.73799).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000362739,0.0,-1.0,1.32739).setTranslation(-1.01087,1.16334,-0.00022218)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.694115).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000362739,-0.0,1.0,1.8142).setTranslation(-0.321673,1.33449,-0.00047218)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.726151).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000537249,0.0,1.0,2.74388).setTranslation(-1.48415,0.754895,-0.000173308)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.704605).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000537249,0.0,-1.0,0.397715).setTranslation(-1.76335,0.0902955,-0.000323308)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.737125).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000842815,-0.0,1.0,0.70818).setTranslation(-1.57965,1.35055,9.54887e-05)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.713188).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000842815,0.0,-1.0,2.43341).setTranslation(-2.05425,1.90475,0.000495489)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.746104).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000586969,0.0,1.0,0.842965).setTranslation(1.16211,-1.71464,5.33835e-05)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.669112).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000586969,0.0,-1.0,2.29863).setTranslation(0.651014,-1.25924,-0.000246617)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.699994).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(9.16339e-05,0.0,-1.0,0.976561).setTranslation(1.67857,-1.75701,0.000224436)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l1"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.643685).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-9.16338e-05,0.0,1.0,2.16503).setTranslation(2.22422,-1.38831,0.000274436)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.673393).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000854335,-0.0,1.0,2.79233).setTranslation(0.6238,-0.3836,-0.0006)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(1.3682).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000241779,-0.0,1.0,0.618327).setTranslation(0.4443,0.8406,-0.0007)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(1.42701).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000493535,0.0,-1.0,1.92869).setTranslation(2.82214,-1.31908,0.000457407)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.68103).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000493535,0.0,1.0,1.2129).setTranslation(3.32869,-1.50853,0.000707407)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.400606).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.919464,0.0,-0.393175,2.0466).setTranslation(-1.30718,-2.85382,-0.280802)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.689074).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.919464,-0.0,0.393175,1.09499).setTranslation(-1.11593,-3.10447,-0.728052)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.405338).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.000274977,-0.0,1.0,1.62903).setTranslation(-1.77106,-2.71602,0.000894444)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.688092).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.000274977,0.0,-1.0,1.51257).setTranslation(-2.31656,-2.74782,0.00104444)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.40476).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.919379,0.0,-0.393374,2.04557).setTranslation(-1.30706,-2.8535,0.282528)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.68908).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.919379,0.0,0.393374,1.09602).setTranslation(-1.11561,-3.10365,0.729978)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.405341).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-9.93443e-05,0.0,-1.0,1.97115).setTranslation(3.50949,1.07199,0.000268519)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.688206).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(9.93443e-05,-0.0,1.0,1.17045).setTranslation(4.01279,0.858989,0.000218519)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.404827).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.987117,0.0,0.160002,0.986139).setTranslation(3.1467,1.39596,-0.282876)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.688023).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.987117,0.0,-0.160002,2.15545).setTranslation(3.0738,1.69751,-0.732626)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.40472).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.987099,-0.0,0.160111,0.987141).setTranslation(3.14664,1.39568,0.283665)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.688039).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.987099,0.0,-0.160112,2.15445).setTranslation(3.07364,1.69678,0.733715)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.404729).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.00204834,0.0,-0.999998,0.463403).setTranslation(-2.14321,2.49567,0.000385185)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.687672).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.00204834,-0.0,0.999998,2.67819).setTranslation(-1.89911,2.98417,-0.000114815)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.404513).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.813108,-0.0,0.582113,1.64889).setTranslation(-2.4969,2.16121,0.280067)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.689258).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.813108,0.0,-0.582113,1.49271).setTranslation(-2.81455,2.11851,0.723767)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.405446).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(-0.811505,0.0,0.584346,1.64944).setTranslation(-2.49766,2.16103,-0.2781)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l2"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.689249).setRadius(0.8).setTop(false))))
        .addChild(new Transform().setRotation(0.811505,0.0,-0.584346,1.49215).setTranslation(-2.81651,2.11803,-0.7209)
          .addChild(new Shape()
            .setAppearance(new Appearance().setUSE("l3"))
            .setGeometry(new Cylinder().setBottom(false).setHeight(0.405441).setRadius(0.8).setTop(false)))))));
            }
            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 
	 * &lt;a href="https://dzone.com/articles/java-copy-shallow-vs-deep-in-which-you-will-swim" target="_blank"&gt;shallow copy&lt;/a&gt;
	 * of the X3D model.
	 * @see &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html"&gt;X3D&lt;/a&gt;
	 * @return CaffeinePubChem2519SticksColor 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 &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#handleArguments-java.lang.String:A-"&gt;X3D.handleArguments(args)&lt;/a&gt;
     * @see &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/Core/X3D.html#validationReport--"&gt;X3D.validationReport()&lt;/a&gt;
     * @see &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html"&gt;CommandLine&lt;/a&gt;
     * @see &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/CommandLine.html#USAGE"&gt;CommandLine.USAGE&lt;/a&gt;
     * @see &lt;a href="https://www.web3d.org/specifications/java/javadoc/org/web3d/x3d/jsail/ConfigurationProperties.html"&gt;ConfigurationProperties&lt;/a&gt;
     */
    public static void main(String args[])
    {
        System.out.println("Build this X3D model, showing validation diagnostics...");
        X3D thisExampleX3dModel = new CaffeinePubChem2519SticksColor().getX3dModel();
//      System.out.println("X3D model construction complete.");
	
        // next handle command line arguments
        boolean hasArguments = (args != null) &amp;&amp; (args.length &gt; 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: \"X3dForAdvancedModeling.AdditiveManufacturing.CaffeinePubChem2519SticksColor\" 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("X3dForAdvancedModeling.AdditiveManufacturing.CaffeinePubChem2519SticksColor self-validation test confirmation: ");
                if (!validationResults.equals("success"))
                    System.out.println();
                System.out.println(validationResults.trim());

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