{ "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":"RotorHead.x3d"
          },
          {
            "@name":"creator",
            "@content":"Michael Collins"
          },
          {
            "@name":"contributor",
            "@content":"LT Terry D. Norbraten, USN"
          },
          {
            "@name":"created",
            "@content":"10 March 2001"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"description",
            "@content":"A SH60F main rotorhead containing four main rotor blades, a central capping structure, central rotor mast and four pitch-control rods."
          },
          {
            "@name":"warning",
            "@content":"units in feet"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/RotorHead.x3d"
          },
          {
            "@name":"reference",
            "@content":"https://www.fas.org/man/dod-101/sys/ac/sh-60.htm"
          },
          {
            "@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":[
          { "NavigationInfo":
            {
              "@speed":300
            }
          },
          { "Background":
            {
              "@groundAngle":[1.309,1.570796],
              "@groundColor":[0.1,0.1,0,0.4,0.25,0.2,0.6,0.6,0.6],
              "@skyAngle":[1.309,1.571],
              "@skyColor":[0,0.2,0.7,0,0.5,1,1,1,1]
            }
          },
          {
            "#comment":"lower-resolution rotor transitions at 1, 10 km"
          },
          { "LOD":
            {
              "@range":[3048,30480],
              "-children":[
                { "Transform":
                  {
                    "@DEF":"RotorHead",
                    "-children":[
                      { "Group":
                        {
                          "-children":[
                            {
                              "#comment":"Blades were oriented incorrectly. Flipped them over 180 degress to correct orientation. TDN"
                            },
                            { "Transform":
                              {
                                "@rotation":[1,0,0,-1.571],
                                "@translation":[-19,0,1],
                                "-children":[
                                  { "Inline":
                                    {
                                      "@DEF":"MainRotorBlade",
                                      "@url":["MainRotorBlade.x3d","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/MainRotorBlade.x3d","MainRotorBlade.wrl","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/MainRotorBlade.wrl"]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,3.142],
                                      "@translation":[38,2,0],
                                      "-children":[
                                        { "Inline":
                                          {
                                            "@USE":"MainRotorBlade"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,4.713],
                                      "@translation":[18,20,0],
                                      "-children":[
                                        { "Inline":
                                          {
                                            "@USE":"MainRotorBlade"
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[0,0,1,1.571],
                                      "@translation":[20,-18,0],
                                      "-children":[
                                        { "Inline":
                                          {
                                            "@USE":"MainRotorBlade"
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[0,-0.8,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@radius":0.5
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                }
                                              }
                                          }
                                        }
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@translation":[0,-1,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@height":0.2,
                                                  "@radius":2.0
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@translation":[1.5,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@radius":0.1
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@translation":[-1.5,0,0],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@radius":0.1
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@translation":[0,0,1.5],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@radius":0.1
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@translation":[0,0,-1.5],
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-geometry":
                                              { "Cylinder":
                                                {
                                                  "@radius":0.1
                                                }
                                              },
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                      }
                                                    }
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-2,0.3,-2],
                                "-children":[
                                  { "Inline":
                                    {
                                      "@url":["Head.x3d","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/Head.x3d","Head.wrl","https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/SH60SeahawkUnitedStates/Head.wrl"]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      { "TimeSensor":
                        {
                          "@DEF":"Clock",
                          "@cycleInterval":0.3,
                          "@loop":true,
                          "-children":[
                            {
                              "#comment":"Added a cycleInterval and set to .3 to simulate a realistic spinning rotor- head. TDN"
                            }
                          ]
                        }
                      },
                      { "OrientationInterpolator":
                        {
                          "@DEF":"RotorPath",
                          "@key":[0.0,0.50,1.0],
                          "@keyValue":[0.0,1.0,0.0,-6.28,0.0,1.0,0.0,-3.14,0.0,1.0,0.0,0.00],
                          "-children":[
                            {
                              "#comment":"Changed keyValues to negative to get the rotorhead to spin in the correct direction. TDN"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "Cylinder":
                              {
                                "@height":1,
                                "@radius":17
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@transparency":0.8
                                    }
                                  }
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "WorldInfo":
                  {
                    "@info":["null node"]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"Clock",
              "@toField":"set_fraction",
              "@toNode":"RotorPath"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"RotorPath",
              "@toField":"set_rotation",
              "@toNode":"RotorHead"
            }
          }
        ]
    }
  }
}