{ "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":"FrontWheel.x3d"
          },
          {
            "@name":"description",
            "@content":"F16 front wheel"
          },
          {
            "@name":"creator",
            "@content":"Etsuko Lippi"
          },
          {
            "@name":"translator",
            "@content":"Murat ONDER, LTJG, Turkish Navy"
          },
          {
            "@name":"created",
            "@content":"19 July 2001"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/FrontWheel.x3d"
          },
          {
            "@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":[
          {
            "#comment":"Example scene to illustrate X3D tags and attributes."
          },
          { "WorldInfo":
            {
              "@title":"FrontWheel.x3d"
            }
          },
          { "Transform":
            {
              "@DEF":"WheelsFrontAxleTransform",
              "@rotation":[0,1,0,-1.57],
              "-children":[
                { "Group":
                  {
                    "-children":[
                      {
                        "#comment":"Upper white axles"
                      },
                      { "Transform":
                        {
                          "@translation":[0,-0.25,0],
                          "-children":[
                            { "Transform":
                              {
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0,2.0,0.75],
                                "-children":[
                                  {
                                    "#comment":"main axle for front wheels"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@DEF":"mainAxle",
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[1.0,1.0,1.0]
                                                }
                                              }
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":2.5,
                                            "@radius":0.25
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[0,0,-1,1.05],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0.68,1.8,0.75],
                                "-children":[
                                  {
                                    "#comment":"assistant axle for front wheels"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"mainAxle"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":2.1,
                                            "@radius":0.2
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[0,0,-1,1.05],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[1.8,2.42,0.75],
                                "-children":[
                                  {
                                    "#comment":"assistant axle for front wheels"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"mainAxle"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":1.6,
                                            "@radius":0.3
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Group":
                  {
                    "-children":[
                      {
                        "#comment":"Gray joints and wheel group"
                      },
                      { "Transform":
                        {
                          "@translation":[0,0,-0.73],
                          "-children":[
                            { "Transform":
                              {
                                "@translation":[0,0.55,0.95],
                                "-children":[
                                  {
                                    "#comment":"vertical axle"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@DEF":"axis",
                                            "-material":
                                              { "Material":
                                                {
                                                  "@ambientIntensity":0.3,
                                                  "@diffuseColor":[0.3,0.3,0.3],
                                                  "@shininess":0.20,
                                                  "@specularColor":[0.50,0.50,0.60]
                                                }
                                              }
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":1,
                                            "@radius":0.08
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[1,0,0,1.57],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0,0,1],
                                "-children":[
                                  {
                                    "#comment":"lower horizontal axle"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"axis"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":0.5,
                                            "@radius":0.1
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[1,0,0,1.57],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0,0,0.95],
                                "-children":[
                                  {
                                    "#comment":"lower Joint"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"axis"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":0.4,
                                            "@radius":0.15
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Group":
                              {
                                "-children":[
                                  {
                                    "#comment":"wheel"
                                  },
                                  { "Transform":
                                    {
                                      "@DEF":"WheelTransform",
                                      "-children":[
                                        { "TouchSensor":
                                          {
                                            "@DEF":"WheelTouchSensor",
                                            "@description":"When the mouse comes over the wheel the wheel starts to turn."
                                          }
                                        },
                                        { "TimeSensor":
                                          {
                                            "@DEF":"Clock",
                                            "@cycleInterval":0.5,
                                            "@enabled":false,
                                            "@loop":true
                                          }
                                        },
                                        { "OrientationInterpolator":
                                          {
                                            "@DEF":"WheelInterpolator",
                                            "@key":[0,0.5,1.0],
                                            "@keyValue":[0,0,1,0.0,0,0,1,3.14,0,0,1,6.28]
                                          }
                                        },
                                        { "ROUTE":
                                          {
                                            "@fromField":"isOver",
                                            "@fromNode":"WheelTouchSensor",
                                            "@toField":"set_enabled",
                                            "@toNode":"Clock"
                                          }
                                        },
                                        { "ROUTE":
                                          {
                                            "@fromField":"fraction_changed",
                                            "@fromNode":"Clock",
                                            "@toField":"set_fraction",
                                            "@toNode":"WheelInterpolator"
                                          }
                                        },
                                        { "ROUTE":
                                          {
                                            "@fromField":"value_changed",
                                            "@fromNode":"WheelInterpolator",
                                            "@toField":"set_rotation",
                                            "@toNode":"WheelTransform"
                                          }
                                        },
                                        { "Transform":
                                          {
                                            "@scale":[0.3,0.3,0.3],
                                            "@translation":[0,0,1.5],
                                            "-children":[
                                              { "Transform":
                                                {
                                                  "@rotation":[0,1,0,1.571],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "@DEF":"front_wheel",
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@DEF":"black",
                                                                    "@diffuseColor":[0,0,0],
                                                                    "@shininess":0.125,
                                                                    "@specularColor":[0.2,0.2,0.2]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Extrusion":
                                                            {
                                                              "@creaseAngle":3.14,
                                                              "@crossSection":[0.00,1.30,0.494,1.196,0.923,0.923,1.196,0.494,1.30,0.00,1.196,-0.494,0.923,-0.923,0.494,-1.196,0.00,-1.30],
                                                              "@spine":[0,0,1.30,0,0.494,1.196,0,0.923,0.923,0,1.196,0.494,0,1.30,0.00,0,1.196,-0.494,0,0.923,-0.923,0,0.494,-1.196,0,0.00,-1.30,0,-0.494,-1.196,0,-0.923,-0.923,0,-1.196,-0.494,0,-1.30,0,0,-1.196,0.494,0,-0.923,0.923,0,-0.494,1.196,0,0.00,1.30]
                                                            }
                                                          }
                                                      }
                                                    },
                                                    { "Shape":
                                                      {
                                                        "@DEF":"inside_wheel",
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "@DEF":"white",
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[1,1,1]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Extrusion":
                                                            {
                                                              "@crossSection":[0.00,1.30,0.10,1.30,0.10,0.00,0.10,-1.30,0.00,-1.30,0.00,0.00,0.00,1.30],
                                                              "@spine":[0,0,1.30,0,0.494,1.196,0,0.923,0.923,0,1.196,0.494,0,1.30,0.00,0,1.196,-0.494,0,0.923,-0.923,0,0.494,-1.196,0,0.00,-1.30,0,-0.494,-1.196,0,-0.923,-0.923,0,-1.196,-0.494,0,-1.30,0,0,-1.196,0.494,0,-0.923,0.923,0,-0.494,1.196,0,0.00,1.30]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,1,0,1.571],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "@USE":"white"
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Extrusion":
                                                            {
                                                              "@crossSection":[-0.10,1.30,0.00,1.30,0.00,0.00,0.00,-1.30,-0.10,-1.30,-0.10,0.00,-0.10,1.30],
                                                              "@spine":[0,0,1.30,0,0.494,1.196,0,0.923,0.923,0,1.196,0.494,0,1.30,0.00,0,1.196,-0.494,0,0.923,-0.923,0,0.494,-1.196,0,0.00,-1.30,0,-0.494,-1.196,0,-0.923,-0.923,0,-1.196,-0.494,0,-1.30,0,0,-1.196,0.494,0,-0.923,0.923,0,-0.494,1.196,0,0.00,1.30]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              },
                                              { "Transform":
                                                {
                                                  "@rotation":[0,1,0,1.571],
                                                  "-children":[
                                                    { "Shape":
                                                      {
                                                        "-appearance":
                                                          { "Appearance":
                                                            {
                                                              "-material":
                                                                { "Material":
                                                                  {
                                                                    "@diffuseColor":[0,0.25,0.5]
                                                                  }
                                                                }
                                                            }
                                                          },
                                                        "-geometry":
                                                          { "Extrusion":
                                                            {
                                                              "@crossSection":[-0.30,1.30,-0.10,1.30,-0.10,0.00,-0.10,-1.30,-0.30,-1.30,-0.30,0.00,-0.30,1.30],
                                                              "@spine":[0,0,1.30,0,0.494,1.196,0,0.923,0.923,0,1.196,0.494,0,1.30,0.00,0,1.196,-0.494,0,0.923,-0.923,0,0.494,-1.196,0,0.00,-1.30,0,-0.494,-1.196,0,-0.923,-0.923,0,-1.196,-0.494,0,-1.30,0,0,-1.196,0.494,0,-0.923,0.923,0,-0.494,1.196,0,0.00,1.30]
                                                            }
                                                          }
                                                      }
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0,0,1.80],
                                            "-children":[
                                              { "Inline":
                                                {
                                                  "@DEF":"Hub",
                                                  "@url":["Hub.x3d","https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/Hub.x3d","Hub.wrl","https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F16FightingFalconTurkey/Hub.wrl"]
                                                }
                                              }
                                            ]
                                          }
                                        },
                                        { "Transform":
                                          {
                                            "@translation":[0,0,1.20],
                                            "-children":[
                                              { "Inline":
                                                {
                                                  "@USE":"Hub"
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[1,0,0,1.57],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0,1,0.95],
                                "-children":[
                                  {
                                    "#comment":"Upper Joint"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"axis"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":0.4,
                                            "@radius":0.15
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@rotation":[1,0,0,1.57],
                                "@scale":[0.7,0.7,0.7],
                                "@translation":[0,1,1.2],
                                "-children":[
                                  {
                                    "#comment":"upper horizontal axle"
                                  },
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"axis"
                                          }
                                        },
                                      "-geometry":
                                        { "Cylinder":
                                          {
                                            "@height":0.9,
                                            "@radius":0.1
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}