<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='ExtrusionExamplesTest.x3d'/>
<meta name='descriptioncontent='Extrusion examples for testing and debugging'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='18 August 2012'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name=' warning content=' several tests (marked TODO) are failing under Xj3D but work satisfactorily on other X3D players '/>
<meta name='Imagecontent='ExtrusionExamplesTest.BScontact.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.Coin3D.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.FreeWrl.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.H3DViewer.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.InstantReality.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.OctagaVS.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.view3dscene.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.X3DOM.png'/>
<meta name='Imagecontent='ExtrusionExamplesTest.Xj3D.png'/>
<meta name='referencecontent='ExtrusionExamplesTestXj3dConsoleOutput.txt'/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionExamplesTest.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='ExtrusionExamplesTest.x3d'/>
<Viewpoint description='Extrusion examplesorientation='1 0 0 -0.244979position='0 4 16'/>
<Background skyColor='0.380392 0.607843 1'/>
<Transform translation='-6 1 0'>
<Viewpoint description='Extrusion1 Defaultposition='0 0 4'/>
<Shape>
<Extrusion DEF='Extrusion1Default'/>
<Appearance DEF='AppearanceDefault'>
<Material emissiveColor='0.24 0.2 0.8'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-3 1 0'> </Transform>
<Transform translation='0 1 0'> </Transform>
<Transform rotation='0 0 1 0.261799translation='3 1 0'>
<Viewpoint description='Extrusion4 CircularCrossSection12SemiCircularSpineposition='0 0 4'/>
<Shape>
<!-- TODO isolated problem: Xj3D rotations look like SCP is mistaken and (unspecified) scales are bogus. mesh connectivity seems OK. crossSection is closed, spine is open. -->
<Extrusion DEF='Extrusion4CircularCrossSection12SemiCircularSpinecrossSection='0 1 0.5 0.866 0.866 0.5 1 0 0.866 -0.5 0.5 -0.866 0 -1 -0.5 -0.866 -0.866 -0.5 -1 -0 -0.866 0.5 -0.5 0.866 0 1scale='0.2 0.2spine='-1 0 0 -0.866 0.5 0 -0.5 0.866 0 0 1 0 0.5 0.866 0 0.866 0.5 0 1 0 0 0.866 -0.5 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<Transform translation='6 2 0'>
<Viewpoint description='Extrusion5 CircularCrossSection12CircularSpineposition='0 0 4'/>
<Shape>
<!-- TODO isolated problem: Xj3D rotations look like SCP is mistaken and (unspecified) scales are bogus. mesh connectivity seems OK. crossSection is closed, spine is closed. -->
<Extrusion DEF='Extrusion5CircularCrossSection12CircularSpinecrossSection='0 1 0.5 0.866 0.866 0.5 1 0 0.866 -0.5 0.5 -0.866 0 -1 -0.5 -0.866 -0.866 -0.5 -1 -0 -0.866 0.5 -0.5 0.866 0 1scale='0.2 0.2spine='0 1 0 0.5 0.866 0 0.866 0.5 0 1 0 0 0.866 -0.5 0 0.5 -0.866 0 0 -1 0 -0.5 -0.866 0 -0.866 -0.5 0 -1 -0 0 -0.866 0.5 0 -0.5 0.866 0 0 1 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<!-- ========================================= -->
<Transform translation='-6.5 -1 0'>
<Viewpoint description='Extrusion6 DefaultSidewaysposition='0 0 4'/>
<Shape>
<Extrusion DEF='Extrusion6DefaultSidewaysspine='0 0 0 1 0 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<Transform translation='-4 -1 0'>
<Viewpoint description='Extrusion7 Right45DegreeBendsposition='0 0 4'/>
<Shape>
<Extrusion DEF='Extrusion7Right45DegreeBendscrossSection='0.1 0.1 0.1 -0.1 -0.1 -0.1 -0.1 0.1 0.1 0.1spine='0 0 0 0 0.5 0 0.5 1 0 1 1 0 1.5 1 0 2 0.5 0 2 0 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<Transform translation='-1 -1 0'>
<Viewpoint description='Extrusion8 Right45DegreeBendsClosedposition='0 0 4'/>
<Shape>
<Extrusion DEF='Extrusion8Right45DegreeBendsClosedcrossSection='0.1 0.1 0.1 -0.1 -0.1 -0.1 -0.1 0.1 0.1 0.1spine='0 0 0 0 0.5 0 0.5 1 0 1 1 0 1.5 1 0 2 0.5 0 2 0 0 2 -0.5 0 1.5 -1 0 1 -1 0 0.5 -1 0 0 -0.5 0 0 0 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<Transform translation='3 -1 0'>
<Viewpoint description='Extrusion9 CircularSpineSquareCrossectionposition='0 0 4'/>
<Shape>
<!-- TODO isolated problem: Xj3D end segments squeezed (but not shut) when crossSection is closed, regardless of beginCap='true' endCap='true' -->
<Extrusion DEF='Extrusion9CircularSpineSquareCrossectioncrossSection='0.1 0.1 0.1 -0.1 -0.1 -0.1 -0.1 0.1 0.1 0.1spine='0 1 0 0.309 0.951 0 0.588 0.809 0 0.809 0.588 0 0.951 0.309 0 1 0 0 0.951 -0.309 0 0.809 -0.588 0 0.588 -0.809 0 0.309 -0.951 0 0 -1 0 -0.309 -0.951 0 -0.588 -0.809 0 -0.809 -0.588 0 -0.951 -0.309 0 -1 -0 0 -0.951 0.309 0 -0.809 0.588 0 -0.588 0.809 0 -0.309 0.951 0 0 1 0'/>
<Appearance USE='AppearanceDefault'/>
</Shape>
</Transform>
<Transform translation='5 -1 0'>
<Viewpoint description='Extrusion10 Right45DegreeBendsClosedCircularCrossectionposition='0 0 4'/>
<Shape> </Shape>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : AppearanceDefault, Extrusion10Right45DegreeBendsClosedCircularCrossection, Extrusion1Default, Extrusion2CircularCrossSection12, Extrusion3CircularCrossSection60, Extrusion4CircularCrossSection12SemiCircularSpine, Extrusion5CircularCrossSection12CircularSpine, Extrusion6DefaultSideways, Extrusion7Right45DegreeBends, Extrusion8Right45DegreeBendsClosed, Extrusion9CircularSpineSquareCrossection

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7, Viewpoint_8, Viewpoint_9, Viewpoint_10, Viewpoint_11
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->