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='4' name='NURBS'/> |
6 | <meta name='title' content='TrimmedNurbsWithHole.x3d'/> |
7 | <meta name='description' content='Scene contains a single NurbsTrimmedSurface node which has two Contour2D child nodes, defining a trimmed outer boundary to the patch and an interior hole in the patch. Scene also contains unit-length line segments defining x-y-z coordinate axes.'/> |
8 | <meta name='creator' content='Vincent Marchetti'/> |
9 | <meta name='created' content='10 February 2012'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='subject' content='NURBS example NurbsTrimmedSurface Contour2D NurbsCurve2D'/> |
12 | <meta name='Image' content='TrimmedNurbsWithHole.jpg'/> |
13 | <meta name='Image' content='images/TrimmedNurbsWithHoleXj3d.png'/> |
14 | <meta name='reference' content='originals/trimmed_nurbs_with_hole.x3d'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/NURBS/TrimmedNurbsWithHole.x3d'/> |
16 | <meta name='generator' content='Python language scripts using Numpy, SciPy libraries http://numpy.scipy.org'/> |
17 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
18 | <meta name='license' content='../license.html'/> |
19 | <meta name=' TODO ' content=' instantReality Forum Issuehttp://forum.instantreality.org '/> |
20 | <meta name=' TODO ' content=' BS Contact BitManagement Bug Report: http://www.bitmanagement.de/en/contact '/> |
21 | </head> |
22 | <Scene> |
23 | <WorldInfo title='TrimmedNurbsWithHole.x3d'/> |
24 | <Background skyColor='1 1 1'/> |
25 | <Viewpoint description='Trimmed Nurbs With Hole' orientation='-0.77676 0.60251 0.18337 0.74685' position='2 3 4'/> |
26 | <Group> |
27 | <Shape> |
28 | <LineSet vertexCount='2' containerField='geometry'> |
29 | <Coordinate point='0 0 0 1 0 0'/> |
30 | </LineSet> |
31 | <Appearance> |
32 | <Material emissiveColor='1 0 0'/> |
33 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
34 | </Appearance> |
35 | </Shape> |
36 | <Shape> |
37 | <LineSet vertexCount='2' containerField='geometry'> |
38 | <Coordinate point='0 0 0 0 1 0'/> |
39 | </LineSet> |
40 | <Appearance> |
41 | <Material emissiveColor='0 1 0'/> |
42 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
43 | </Appearance> |
44 | </Shape> |
45 | <Shape> |
46 | <LineSet vertexCount='2' containerField='geometry'> |
47 | <Coordinate point='0 0 0 0 0 1'/> |
48 | </LineSet> |
49 | <Appearance> |
50 | <Material emissiveColor='0 0 1'/> |
51 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
52 | </Appearance> |
53 | </Shape> |
54 | </Group> |
55 | <Shape> |
56 | <!-- Instant Reality options: meshGenerationType="dynamic" or advancedStatic or simpleStatic --> |
57 | <NurbsTrimmedSurface solid='false' uDimension='3' uKnot='0 0 0 1 1 1' vDimension='2' vKnot='0 0 2 2' vOrder='2' weight='1 0.946042343528 1 1 0.946042343528 1' containerField='geometry'> |
58 | <Coordinate containerField='controlPoint' point='1.5 -1.1102e-16 -8.6600e-01 1.4191e+00 6.4809e-01 -8.1927e-01 1.0800e+00 1.2262e+00 -8.6600e-01 5.0000e-01 -5.5511e-17 8.6600e-01 4.7302e-01 3.2404e-01 8.1927e-01 2.8999e-01 6.1312e-01 8.6600e-01'/> |
59 | <Contour2D containerField='trimmingContour'> |
60 | <NurbsCurve2D controlPoint='0 0 1 0 1 1.5' knot='0 0 0.5 1 1' order='2' weight='1 1 1' containerField='children'/> |
61 | <NurbsCurve2D controlPoint='1 1.5 7.1000e-01 1.4200e+00 5.0000e-01 2' knot='0 0 0 1 1 1' weight='1 0.71 1' containerField='children'/> |
62 | <NurbsCurve2D controlPoint='5.0000e-01 2 0 2 0 0' knot='0 0 0.5 1 1' order='2' weight='1 1 1' containerField='children'/> |
63 | </Contour2D> |
64 | <Contour2D containerField='trimmingContour'> |
65 | <NurbsCurve2D controlPoint='7.5000e-01 1.5 5.3033e-01 8.8388e-01 5.0000e-01 1.2500e+00 1.7678e-01 8.8388e-01 2.5000e-01 1.5 1.7678e-01 1.2374e+00 5.0000e-01 1.7500e+00 5.3033e-01 1.2374e+00 7.5000e-01 1.5' knot='0 0 0 0.25 0.25 0.5 0.5 0.75 0.75 1 1 1' weight='1 0.707106781187 1 0.707106781187 1 0.707106781187 1 0.707106781187 1' containerField='children'/> |
66 | </Contour2D> |
67 | </NurbsTrimmedSurface> |
68 | <Appearance DEF='ksh_appearance_1'> |
69 | <Material diffuseColor='0 0 1'/> |
70 | </Appearance> |
71 | </Shape> |
72 | </Scene> |
73 | </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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->