{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Fuselage.x3d"
          },
          {
            "@name":"description",
            "@content":"This file defines a fuselage inlined to create a helicopter"
          },
          {
            "@name":"creator",
            "@content":"Jane Wu (adapted from the original fuselage.wrl created for vrtp demo helicopter)"
          },
          {
            "@name":"created",
            "@content":"8 January 2001"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Fuselage.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"21 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "WorldInfo":
            {
              "@title":"Fuselage.x3d"
            }
          },
          { "Group":
            {
              "-children":[
                { "Group":
                  {
                    "@DEF":"FUSELAGE",
                    "-children":[
                      { "Transform":
                        {
                          "@DEF":"MAIN_SECTION",
                          "@rotation":[1.0,0.0,0.0,1.57],
                          "-children":[
                            { "Shape":
                              {
                                "@DEF":"MAIN_FUSELAGE_SHAPE",
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@DEF":"GREEN",
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.0,0.4,0.0]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "Extrusion":
                                    {
                                      "@convex":false,
                                      "@creaseAngle":0.8,
                                      "@crossSection":[-0.625,1.3,0.575,1.3,0.675,1.2,0.725,1.0,0.775,0.6,0.725,0.2,0.625,0.05,0.525,0.0,-0.575,0.0,-0.675,0.05,-0.775,0.2,-0.825,0.6,-0.775,1.0,-0.700,1.2,-0.625,1.3],
                                      "@endCap":false,
                                      "@solid":false,
                                      "@spine":[0.0,0.0,0.0,0.0,2.43,0.0]
                                    }
                                  }
                              }
                            },
                            { "Shape":
                              {
                                "@DEF":"TAIL_FUSELAGE_SHAPE",
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@USE":"GREEN"
                                    }
                                  },
                                "-geometry":
                                  { "Extrusion":
                                    {
                                      "@convex":false,
                                      "@creaseAngle":0.8,
                                      "@crossSection":[-0.625,1.3,0.575,1.3,0.675,1.2,0.725,1.0,0.775,0.6,0.725,0.2,0.625,0.05,0.525,0.0,-0.575,0.0,-0.675,0.05,-0.775,0.2,-0.825,0.6,-0.775,1.0,-0.700,1.2,-0.625,1.3],
                                      "@endCap":false,
                                      "@scale":[1.0,1.0,0.20,0.20],
                                      "@solid":false,
                                      "@spine":[0.0,2.43,0.0,0.0,3.33,0.0]
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@rotation":[1.0,0.0,0.0,-1.57],
                          "@translation":[0.0,0.0,2.1],
                          "-children":[
                            { "Inline":
                              {
                                "@url":["Cockpit.x3d","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.x3d","Cockpit.wrl","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.wrl"]
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[0.0,-1.3,0.5],
                          "-children":[
                            { "Shape":
                              {
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@DEF":"BLACK",
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.0,0.0,0.0]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "Box":
                                    {
                                      "@size":[0.5,0.1,0.5]
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0.0,-1.36,2.0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@DEF":"BALL_COLOR",
                                      "@diffuseColor":[0.4,0.4,0.4]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Sphere":
                              {
                                "@radius":0.04
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0.0,-1.36,2.0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.1,0.1,0.1]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Cylinder":
                              {
                                "@height":0.05,
                                "@radius":0.06
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "TimeSensor":
                  {
                    "@DEF":"CLOCK",
                    "@loop":true
                  }
                },
                { "ColorInterpolator":
                  {
                    "@DEF":"COLOR_PATH",
                    "@key":[0.0,0.5,0.5,1.0],
                    "@keyValue":[1.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,1.0,1.0,1.0,1.0]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"CLOCK",
              "@toField":"set_fraction",
              "@toNode":"COLOR_PATH"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"COLOR_PATH",
              "@toField":"set_emissiveColor",
              "@toNode":"BALL_COLOR"
            }
          }
        ]
    }
  }
}