X3D Model Documentation: TrimmingContourExample.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <component level='4name='NURBS'/>
  6            <meta name='titlecontent='TrimmingContourExample.x3d'/>
  7            <meta name='descriptioncontent='Simple example demonstrating NURBS trimming contour content model.'/>
  8            <meta name='creatorcontent='Andrew Grieve, Vince Marchetti'/>
  9            <meta name='contributorcontent='Don Brutzman'/>
 10            <meta name='createdcontent='16 October 2005'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='Imagecontent='TrimmingContourExample.png'/>
 13            <meta name='Imagecontent='TrimmingContourExampleSideView.png'/>
 14            <meta name='Imagecontent='images/TrimmingContourExampleInstantReality.png'/>
 15            <meta name='Imagecontent='images/TrimmingContourExampleXj3d.png'/>
 16            <meta name='subjectcontent='NURBS trimming contour'/>
 17            <meta name='referencecontent='https://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Part01/components/nurbs.html#NurbsTrimmedSurface'/>
 18            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/NURBS/TrimmingContourExample.x3d'/>
 19            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 20            <meta name='licensecontent='../license.html'/>
 21       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
 22       <Scene>
 23            <WorldInfo title='TrimmingContourExample.x3d'/>
 24            <NavigationInfo type='"EXAMINE"'/>
 25            <Background skyColor='1 1 1'/>
 26            <Transform scale='2 2 2'>
 27                 <Viewpoint centerOfRotation='233 0 -135description='Overhead ViewfieldOfView='0.16628orientation='-1 -0 -0 1.57position='233 1500 -133.809998'/>
 28                 <Shape>
 29                      <Appearance>
 30                           <Material diffuseColor='1 0 0emissiveColor='0 1 0'/>
 31                      </Appearance>
 32                      <NurbsTrimmedSurface solid='falseuDimension='6uKnot='0.00980377 0.00980377 0.00980377 0.00980377 0.5 0.5 0.990196 0.990196 0.990196 0.990196uOrder='4vDimension='6vKnot='0.00980377 0.00980377 0.00980377 0.00980377 0.5 0.5 0.990196 0.990196 0.990196 0.990196vOrder='4containerField='geometry'>
 33                           <Coordinate containerField='controlPointpoint='123.01589 0.00000 -70.25446 123.01589 0.00000 -91.89685 123.01589 30.00000 -113.53923 123.01589 40.00000 -156.82400 123.01589 20.00000 -178.46638 123.01589 0.00000 -200.10876 159.68731 0.00000 -70.25446 159.68731 0.00000 -91.89685 159.68731 0.00000 -113.53923 159.68731 0.00000 -156.82400 159.68731 0.00000 -178.46638 159.68731 16.00000 -200.10876 196.35873 0.00000 -70.25446 196.35873 0.00000 -91.89685 196.35873 21.00000 -113.53923 196.35873 0.00000 -156.82400 196.35873 24.00000 -178.46638 196.35873 28.00000 -200.10876 269.70158 16.00000 -70.25446 269.70158 0.00000 -91.89685 269.70158 0.00000 -113.53923 269.70158 0.00000 -156.82400 269.70158 0.00000 -178.46638 269.70158 0.00000 -200.10876 306.37300 0.00000 -70.25446 306.37300 0.00000 -91.89685 306.37300 0.00000 -113.53923 306.37300 34.00000 -156.82400 306.37300 0.00000 -178.46638 306.37300 0.00000 -200.10876 343.04443 0.00000 -70.25446 343.04443 0.00000 -91.89685 343.04443 -32.00000 -113.53923 343.04443 0.00000 -156.82400 343.04443 0.00000 -178.46638 343.04443 0.00000 -200.10876'/>
 34                           <Contour2D containerField='trimmingContour'>
 35                                <NurbsCurve2D controlPoint='0.9901960784313720 0.0098039215686275 0.9901960784313720 0.9901960784313720 0.0098039215686275 0.9901960784313720 0.0098039215686275 0.0098039215686275 0.9901960784313720 0.0098039215686275knot='0 0 0.25 0.5 0.75 1 1order='2containerField='children'/>
 36                           </Contour2D>
 37                           <Contour2D containerField='trimmingContour'>
 38                                <ContourPolyline2D controlPoint='.2 .2 .2 .6containerField='children'/>
 39                                <NurbsCurve2D controlPoint='.2 .6 .4 .4 .6 .6knot='2 2 2 3 3 3containerField='children'/>
 40                                <ContourPolyline2D controlPoint='.6 .6 .6 .2 .2 .2containerField='children'/>
 41                           </Contour2D>
 42                           <Contour2D containerField='trimmingContour'>
 43                                <ContourPolyline2D controlPoint='.75 .75 .85 .85 .95 .75 .75 .75containerField='children'/>
 44                           </Contour2D>
 45                      </NurbsTrimmedSurface>
 46                 </Shape>
 47            </Transform>
 48       </Scene>
 49  </X3D>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, component, Contour2D, ContourPolyline2D, Coordinate, head, Material, meta, NavigationInfo, NurbsCurve2D, NurbsTrimmedSurface, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/NURBS/TrimmingContourExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS/TrimmingContourExample.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. -->