{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.3",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.3.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"ExtrusionEdgeCases.x3d"
          },
          {
            "@name":"description",
            "@content":"Scene incorporating extrusion edge cases"
          },
          {
            "@name":"creator",
            "@content":"Roy Walmsley"
          },
          {
            "@name":"created",
            "@content":"29 January 2016"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/wiki/index.php/Extrusion_Edge_Cases"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCases.x3d"
          },
          {
            "@name":"generator",
            "@content":"XML Spy, http://www.altova.com"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"16 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":"ExtrusionEdgeCases.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Extrusion Edge Cases",
              "@position":[10,5,50]
            }
          },
          { "Transform":
            {
              "@translation":[2,10,0],
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Extrusion Edge Case 1",
                    "@position":[2,0,20]
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.8,0.1,0.05]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Extrusion":
                        {
                          "@crossSection":[-1,0,0,1,1,0,-1,0],
                          "@scale":[1,1,1,1,1,1,2,2,3,3,3,3],
                          "@spine":[-5,0,0,0,0,0,4,4,0,4,4,0,4,4,0,8,0,0]
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@scale":[2,2,2],
              "@translation":[-2,-2,0],
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Extrusion Edge Case 2a",
                    "@position":[0,0,6]
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0,0.8,0.1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Extrusion":
                        {
                          "@crossSection":[-1,0,0,2,1,0,-1,0],
                          "@solid":false
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@scale":[2,2,2],
              "@translation":[4,-2,0],
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Extrusion Edge Case 2b",
                    "@position":[0,0,4]
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0,0.8,0.1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Extrusion":
                        {
                          "@crossSection":[-1,0,0,2,1,0,-1,0],
                          "@solid":false,
                          "@spine":[0,1,0,0,0,0]
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@scale":[1.5,1.5,1.5],
              "@translation":[20,0,0],
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Extrusion Edge Case 3",
                    "@position":[0,0,6]
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.1,0,0.8]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Extrusion":
                        {
                          "@beginCap":false,
                          "@endCap":false,
                          "@scale":[1,1,1.2,1.2,1.4,1.4],
                          "@solid":false,
                          "@spine":[0,0,0,0,1,0,0,0,0]
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}