| 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='4' name='NURBS'/> |
| 6 | <meta name='title' content=' TrimmingContourExample.x3d '/> |
| 7 | <meta name='description' content='Simple example demonstrating NURBS trimming contour content model.'/> |
| 8 | <meta name='creator' content='Andrew Grieve, Vince Marchetti'/> |
| 9 | <meta name='contributor' content='Don Brutzman'/> |
| 10 | <meta name='created' content='16 October 2005'/> |
| 11 | <meta name='modified' content='20 October 2019'/> |
| 12 |
<meta name='Image' content='TrimmingContourExample.png' />
|
| 13 |
<meta name='Image' content='TrimmingContourExampleSideView.png' />
|
| 14 |
<meta name='Image' content='images/TrimmingContourExampleInstantReality.png' />
|
| 15 |
<meta name='Image' content='images/TrimmingContourExampleXj3d.png' />
|
| 16 | <meta name='subject' content='NURBS trimming contour'/> |
| 17 | <meta name='reference' content='https://www.web3d.org/x3d/specifications/ISO-IEC-19775-X3DAbstractSpecification/Part01/components/nurbs.html#NurbsTrimmedSurface'/> |
| 18 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/NURBS/TrimmingContourExample.x3d '/> |
| 19 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 20 | <meta name='license' content='../license.html'/> |
| 21 | </head> |
| 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 -135' description='Overhead View' fieldOfView='0.16628' orientation='-1 -0 -0 1.57' position='233 1500 -133.809998'/> |
| 28 | <Shape> |
| 29 | <Appearance> |
| 30 | <Material diffuseColor='1 0 0' emissiveColor='0 1 0'/> |
| 31 | </Appearance> |
| 32 | <NurbsTrimmedSurface solid='false' uDimension='6' uKnot='0.00980377 0.00980377 0.00980377 0.00980377 0.5 0.5 0.990196 0.990196 0.990196 0.990196' uOrder='4' vDimension='6' vKnot='0.00980377 0.00980377 0.00980377 0.00980377 0.5 0.5 0.990196 0.990196 0.990196 0.990196' vOrder='4' containerField='geometry'> |
| 33 | <Coordinate containerField='controlPoint' point='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.0098039215686275' knot='0 0 0.25 0.5 0.75 1 1' order='2' containerField='children'/> |
| 36 | </Contour2D> |
| 37 | <Contour2D containerField='trimmingContour'> |
| 38 | <ContourPolyline2D controlPoint='.2 .2 .2 .6' containerField='children'/> |
| 39 | <NurbsCurve2D controlPoint='.2 .6 .4 .4 .6 .6' knot='2 2 2 3 3 3' containerField='children'/> |
| 40 | <ContourPolyline2D controlPoint='.6 .6 .6 .2 .2 .2' containerField='children'/> |
| 41 | </Contour2D> |
| 42 | <Contour2D containerField='trimmingContour'> |
| 43 | <ContourPolyline2D controlPoint='.75 .75 .85 .85 .95 .75 .75 .75' containerField='children'/> |
| 44 | </Contour2D> |
| 45 | </NurbsTrimmedSurface> |
| 46 | </Shape> |
| 47 | </Transform> |
| 48 | </Scene> |
| 49 | </X3D> |
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->