X3D Model Documentation: ExtrusionEdgeCases.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent='ExtrusionEdgeCases.x3d'/>
  6            <meta name='descriptioncontent='Scene incorporating extrusion edge cases'/>
  7            <meta name='creatorcontent='Roy Walmsley'/>
  8            <meta name='createdcontent='29 January 2016'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='https://www.web3d.org/wiki/index.php/Extrusion_Edge_Cases'/>
 11            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCases.x3d'/>
 12            <meta name='generatorcontent='XML Spy, http://www.altova.com'/>
 13            <meta name='licensecontent='../license.html'/>
 14       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5
-->
 15       <Scene>
 16            <WorldInfo title='ExtrusionEdgeCases.x3d'/>
 17            <Viewpoint description='Extrusion Edge Casesposition='10 5 50'/>
 18            <Transform translation='2 10 0'>
 19                 <Viewpoint description='Extrusion Edge Case 1position='2 0 20'/>
 20                 <Shape>
 21                      <Appearance>
 22                           <Material diffuseColor='0.8 0.1 0.05'/>
 23                      </Appearance>
 24                      <Extrusion crossSection='-1 0 0 1 1 0 -1 0scale='1 1 1 1 1 1 2 2 3 3 3 3spine='-5 0 0 0 0 0 4 4 0 4 4 0 4 4 0 8 0 0'/>
 25                 </Shape>
 26            </Transform>
 27            <Transform scale='2 2 2translation='-2 -2 0'>
 28                 <Viewpoint description='Extrusion Edge Case 2aposition='0 0 6'/>
 29                 <Shape>
 30                      <Appearance>
 31                           <Material diffuseColor='0 0.8 0.1'/>
 32                      </Appearance>
 33                      <Extrusion crossSection='-1 0 0 2 1 0 -1 0solid='false'/>
 34                 </Shape>
 35            </Transform>
 36            <Transform scale='2 2 2translation='4 -2 0'>
 37                 <Viewpoint description='Extrusion Edge Case 2bposition='0 0 4'/>
 38                 <Shape>
 39                      <Appearance>
 40                           <Material diffuseColor='0 0.8 0.1'/>
 41                      </Appearance>
 42                      <Extrusion crossSection='-1 0 0 2 1 0 -1 0solid='falsespine='0 1 0 0 0 0'/>
 43                 </Shape>
 44            </Transform>
 45            <Transform scale='1.5 1.5 1.5translation='20 0 0'>
 46                 <Viewpoint description='Extrusion Edge Case 3position='0 0 6'/>
 47                 <Shape>
 48                      <Appearance>
 49                           <Material diffuseColor='0.1 0 0.8'/>
 50                      </Appearance>
 51                      <Extrusion beginCap='falseendCap='falsescale='1 1 1.2 1.2 1.4 1.4solid='falsespine='0 0 0 0 1 0 0 0 0'/>
 52                 </Shape>
 53            </Transform>
 54       </Scene>
 55  </X3D>
<!--

<!-- to top Index for DEF node: Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5
-->
X3D Tooltips element index: Appearance, Extrusion, head, Material, meta, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCasesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCases.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

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