X3D Model Documentation: HoleLargeOffset.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
  3  <X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'>
  4       <head>
  5            <component level='4name='NURBS'/>
  6            <meta name='titlecontent='HoleLargeOffset.x3d'/>
  7            <meta name='descriptioncontent='A NurbsTrimmedSurface node rendering a square centered on the origin in the x-y plane; with sides 8 units length. A trimming curve is used to cut out a circle of radius 1 unit centered at the point (x,y)=(2,2) . Red (x), Green (y) and Blue (z) line segments represent the x-y-z unit axes.'/>
  8            <meta name='Imagecontent='HoleLargeOffset.jpg'/>
  9            <meta name='creatorcontent='Vincent Marchetti'/>
 10            <meta name='createdcontent='10 February 2012'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='Imagecontent='images/HoleLargeOffsetInstantReality.png'/>
 13            <meta name='Imagecontent='images/HoleLargeOffsetXj3D.png'/>
 14            <meta name='referencecontent='http://www.kshell.com/pages/trimmed_nurbs_demo'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/NURBS/HoleLargeOffset.x3d'/>
 16            <meta name='generatorcontent='Python language scripting'/>
 17            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 18            <meta name='licensecontent='../license.html'/>
 19       </head>
<!--

<!-- -->

<!-- to top Index for DEF node: ksh_appearance_1

Index for Viewpoint node: Viewpoint_1
-->
 20       <Scene>
 21            <WorldInfo title='HoleLargeOffset.x3d'/>
 22            <Viewpoint description='Hole Large Offset NurbsTrimmedSurfaceposition='0 0 12'/>
 23            <Background skyColor='1 1 1'/>
 24            <Group>
 25                 <Shape>
 26                      <LineSet vertexCount='2containerField='geometry'>
 27                           <Coordinate point='0 0 0.01 1 0 0.01'/>
 28                      </LineSet>
 29                      <Appearance>
 30                           <Material emissiveColor='1 0 0'/>
 31                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 32                      </Appearance>
 33                 </Shape>
 34                 <Shape>
 35                      <LineSet vertexCount='2containerField='geometry'>
 36                           <Coordinate point='0 0 0.01 0 1 0.01'/>
 37                      </LineSet>
 38                      <Appearance>
 39                           <Material emissiveColor='0 1 0'/>
 40                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 41                      </Appearance>
 42                 </Shape>
 43                 <Shape>
 44                      <LineSet vertexCount='2containerField='geometry'>
 45                           <Coordinate point='0 0 0.01 0 0 1'/>
 46                      </LineSet>
 47                      <Appearance>
 48                           <Material emissiveColor='0 0 1'/>
 49                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 50                      </Appearance>
 51                 </Shape>
 52            </Group>
 53            <Shape>
 54                 <NurbsTrimmedSurface solid='falseuDimension='2uKnot='-4 -4 4 4uOrder='2vDimension='2vKnot='-4 -4 4 4vOrder='2weight='1 1 1 1containerField='geometry'>
 55                      <Coordinate containerField='controlPointpoint='-4 -4 0 4 -4 0 -4 4 0 4 4 0'/>
 56                      <Contour2D containerField='trimmingContour'>
 57                           <NurbsCurve2D controlPoint='-4 -4 4 -4 4 4 -4 4 -4 -4knot='0 0 0.25 0.5 0.75 1 1order='2weight='1 1 1 1 1containerField='children'/>
 58                      </Contour2D>
 59                      <Contour2D containerField='trimmingContour'>
 60                           <NurbsCurve2D controlPoint='3 2 2.1213 0.7071 2 1 0.7071 0.7071 1 2 0.7071 2.1213 2 3 2.1213 2.1213 3 2knot='0 0 0 0.25 0.25 0.5 0.5 0.75 0.75 1 1 1weight='1 0.7071 1 0.7071 1 0.7071 1 0.7071 1containerField='children'/>
 61                      </Contour2D>
 62                 </NurbsTrimmedSurface>
 63                 <Appearance DEF='ksh_appearance_1'>
 64                      <Material diffuseColor='0 0 1'/>
 65                 </Appearance>
 66            </Shape>
 67       </Scene>
 68  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF node: ksh_appearance_1

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, component, Contour2D, Coordinate, Group, head, LineProperties, LineSet, Material, meta, NurbsCurve2D, NurbsTrimmedSurface, Scene, Shape, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/NURBS/HoleLargeOffsetIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS/HoleLargeOffset.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' 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. -->