{ "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":"Type209GlafkosDieselSubmarinePropeller.x3d"
          },
          {
            "@name":"description",
            "@content":"Submarine propeller based on a propeller initially created by James Harney for an \"Arleigh Burke\" type DDG"
          },
          {
            "@name":"creator",
            "@content":"Anthony Varelas"
          },
          {
            "@name":"created",
            "@content":"1 September 2002"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"reference",
            "@content":"https://www.fas.org/man/dod-101/sys/ship/ddg-51.htm"
          },
          {
            "@name":"reference",
            "@content":"FASDDG51.htm"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Submarines/Various/Type209GlafkosDieselSubmarinePropeller.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 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":"Type209GlafkosDieselSubmarinePropeller.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[0,0,0.5]
            }
          },
          {
            "#comment":"LOD used to decrease framerate in combined file later. Set to 100m. >500m draws nothing."
          },
          { "LOD":
            {
              "@range":[500],
              "-children":[
                { "Transform":
                  {
                    "-children":[
                      { "Transform":
                        {
                          "@DEF":"STBDSHAFT",
                          "@scale":[0.3,0.3,0.3],
                          "-children":[
                            { "Group":
                              {
                                "@DEF":"PROP",
                                "-children":[
                                  { "Transform":
                                    {
                                      "@DEF":"HUB",
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                        "@DEF":"BRASS",
                                                        "@ambientIntensity":0.4,
                                                        "@diffuseColor":[0.22,0.15,0],
                                                        "@shininess":0.16,
                                                        "@specularColor":[0.71,0.70,0.56]
                                                      }
                                                    }
                                                }
                                              },
                                            "-geometry":
                                              { "Extrusion":
                                                {
                                                  "@creaseAngle":0.785,
                                                  "@crossSection":[1.00,0,0.92,-0.38,0.71,-0.71,0.38,-0.92,0.00,-1.00,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1.00,-0.00,-0.92,0.38,-0.71,0.71,-0.38,0.92,0.00,1.00,0.38,0.92,0.71,0.71,0.92,0.38,1.00,0.00],
                                                  "@solid":false,
                                                  "@spine":[0.0,0.0,0.0,0.0,0.0,-3.29]
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@DEF":"BASE",
                                      "-children":[
                                        { "Shape":
                                          {
                                            "-appearance":
                                              { "Appearance":
                                                {
                                                  "-material":
                                                    { "Material":
                                                      {
                                                        "@USE":"BRASS"
                                                      }
                                                    }
                                                }
                                              },
                                            "-geometry":
                                              { "Extrusion":
                                                {
                                                  "@creaseAngle":0.785,
                                                  "@crossSection":[1.00,0,0.92,-0.38,0.71,-0.71,0.38,-0.92,0.00,-1.00,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1.00,-0.00,-0.92,0.38,-0.71,0.71,-0.38,0.92,0.00,1.00,0.38,0.92,0.71,0.71,0.92,0.38,1.00,0.00],
                                                  "@scale":[1.0,1.0,0.8,0.8,0.4,0.4,0.4,0.4],
                                                  "@solid":false,
                                                  "@spine":[0.0,0.0,0.1,0.0,0.0,1.14,0.0,0.0,1.56,0.0,0.0,1.66]
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.64],
                                      "-children":[
                                        { "Group":
                                          {
                                            "@DEF":"BLADE",
                                            "-children":[
                                              { "Transform":
                                                {
                                                  "@rotation":[0,0,1,-0.349],
                                                  "@scale":[1,0.1,1],
                                                  "@translation":[-2,2.25,0],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@USE":"BRASS"
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Extrusion":
                                                            {
                                                              "@creaseAngle":1.1,
                                                              "@crossSection":[2,0.2,1.95,0.5,1.9,1,1.95,1.5,2,2,2.1,1.5,2.1,3,2,3.5,1.75,4,1.65,4.5,0.5,4.85,0.4,5,0.5,5.4,1,5.6,1.5,5.9,2,6,2.5,6.05,3,6.05,3.5,6.05,4,6.05,4.5,6,5,5.95,5.5,5.6,5.6,5.5,6,5.25,6.5,5,6.8,4.5,7.1,4,7.4,3.5,7.45,3,7.4,2.5,7.15,2,7,1.5,6.5,1.25,6,1,5.5,0.95,5,0.925,4.5,0.85,4,0.55,4,0.45,3.5,0.46,3,0.5,2.5,0.46,2,0.2]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.64],
                                      "-children":[
                                        {
                                          "#comment":"Approx 72 degrees of sep between the center of each blade as it touches the hub"
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[0,1,0,1.36],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "@USE":"BLADE"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.64],
                                      "-children":[
                                        {
                                          "#comment":"Approx 72 degrees of sep between the center of each blade as it touches the hub"
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[0,1,0,2.72],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "@USE":"BLADE"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.64],
                                      "-children":[
                                        {
                                          "#comment":"Approx 72 degrees of sep between the center of each blade as it touches the hub"
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[0,1,0,4.08],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "@USE":"BLADE"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                      "@rotation":[1,0,0,-1.64],
                                      "-children":[
                                        {
                                          "#comment":"Approx 72 degrees of sep between the center of each blade as it touches the hub"
                                        },
                                        { "Transform":
                                          {
                                            "@rotation":[0,1,0,5.44],
                                            "-children":[
                                              { "Group":
                                                {
                                                  "@USE":"BLADE"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "Transform":
                                    {
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@DEF":"PORTSHAFT",
                          "@scale":[0.3,0.3,0.3],
                          "@translation":[-4,0,0],
                          "-children":[
                            { "Group":
                              {
                                "-children":[
                                  { "Transform":
                                    {
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                  }
                }
              ]
            }
          },
          { "TimeSensor":
            {
              "@DEF":"MyClock",
              "@cycleInterval":2,
              "@loop":true
            }
          },
          { "OrientationInterpolator":
            {
              "@DEF":"MyOI",
              "@key":[0,0.5,1],
              "@keyValue":[0,0,1,0,0,0,1,3.14,0,0,1,6.28]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"MyClock",
              "@toField":"set_fraction",
              "@toNode":"MyOI"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"MyOI",
              "@toField":"set_rotation",
              "@toNode":"PORTSHAFT"
            }
          },
          { "OrientationInterpolator":
            {
              "@DEF":"OI2",
              "@key":[0,0.5,1],
              "@keyValue":[0,0,1,6.28,0,0,1,3.14,0,0,1,0]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"MyClock",
              "@toField":"set_fraction",
              "@toNode":"OI2"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"OI2",
              "@toField":"set_rotation",
              "@toNode":"STBDSHAFT"
            }
          }
        ]
    }
  }
}