1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
|
3 | <X3D profile='CADInterchange' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'> |
4 | <head> |
5 | <component level='2' name='CADGeometry'/> |
6 | <component level='1' name='EnvironmentalEffects'/> |
7 | <meta name='title' content='CADPartChildNoTransformation.x3d'/> |
8 | <meta name='description' content='Developer scene to explore Mantis Issue 528, providing a baseline example with no transformation of CADPart children.'/> |
9 | <meta name='creator' content='Vince Marchetti, Don Brutzman, Hyokwang Lee, Dick Puk'/> |
10 | <meta name='translator' content='Vince Marchetti bushing generation using python scripts'/> |
11 | <meta name='reference' content='https://www.web3d.org/member-only/mantis/view.php?id=528'/> |
12 | <meta name=' warning ' content=' This scene is intended for specification development only. '/> |
13 | <meta name='created' content='29 June 2012'/> |
14 | <meta name='modified' content='20 October 2019'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/CAD/CADPartChildNoTransformation.x3d'/> |
16 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
19 | <Scene> |
20 | <WorldInfo title='CADPartChildNoTransformation.x3d'/> |
21 | <Background skyColor='0.9607843 1 0.9607843'/> |
22 | <Viewpoint description='Hello CAD bushing' orientation='1 0 0 -0.321751' position='0 5 15'/> |
23 | <CADAssembly name='DesignPatternAssembly'> |
24 | <CADPart name='CADPartExample'> |
25 | <!-- the rotation and translation attributes serve to position the bushing within the assembly --> |
26 | <CADFace name='outerSurface'> |
27 | <Shape containerField='shape'> |
28 | <!-- note solid='true' and so one-sided external rendering only --> |
29 | <Cylinder bottom='false' height='3' radius='2' top='false'/> |
30 |
<!-- Appearance
AppearanceGrey is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Appearance DEF='AppearanceGrey'> |
31 | <Material/> |
32 | </Appearance> |
33 | </Shape> |
34 | </CADFace> |
35 | <CADFace name='innerSurface'> |
36 | <Shape containerField='shape'> |
37 | <!-- note solid='false' and so two-sided internal + external rendering --> |
38 | <Cylinder bottom='false' height='3' solid='false' top='false'/> |
39 | <Appearance USE='AppearanceGrey'/> |
40 | </Shape> |
41 | </CADFace> |
42 | <CADFace name='topCap'> |
43 | <Shape containerField='shape'> |
44 | <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 2 1 3 2 3 4 4 3 5 4 5 6 6 5 7 6 7 8 8 7 9 8 9 10 10 9 11 10 11 12 12 11 13 12 13 14 14 13 15 14 15 16 16 15 17 16 17 18 18 17 19 18 19 20 20 19 21 20 21 22 22 21 23 22 23 24 24 23 25 24 25 26 26 25 27 26 27 28 28 27 29 28 29 30 30 29 31 30 31 32 32 31 33 32 33 34 34 33 35 34 35 36 36 35 37 36 37 38 38 37 39 38 39 40 40 39 41 40 41 42 42 41 43 42 43 44 44 43 45 44 45 46 46 45 47 46 47 48 48 47 49 48 49 50 50 49 51 50 51 52 52 51 53 52 53 54 54 53 55 54 55 56 56 55 57 56 57 58 58 57 59 58 59 60 60 59 61 60 61 62 62 61 63 62 63 64 64 63 65' normalPerVertex='true' solid='true' containerField='geometry'> |
45 | <Coordinate point='2.0000 1.5000 0.0000 1.0000 1.5000 0.0000 1.9616 1.5000 0.3902 0.9808 1.5000 0.1951 1.8478 1.5000 0.7654 0.9239 1.5000 0.3827 1.6629 1.5000 1.1111 0.8315 1.5000 0.5556 1.4142 1.5000 1.4142 0.7071 1.5000 0.7071 1.1111 1.5000 1.6629 0.5556 1.5000 0.8315 0.7654 1.5000 1.8478 0.3827 1.5000 0.9239 0.3902 1.5000 1.9616 0.1951 1.5000 0.9808 0.0000 1.5000 2.0000 0.0000 1.5000 1.0000 -0.3902 1.5000 1.9616 -0.1951 1.5000 0.9808 -0.7654 1.5000 1.8478 -0.3827 1.5000 0.9239 -1.1111 1.5000 1.6629 -0.5556 1.5000 0.8315 -1.4142 1.5000 1.4142 -0.7071 1.5000 0.7071 -1.6629 1.5000 1.1111 -0.8315 1.5000 0.5556 -1.8478 1.5000 0.7654 -0.9239 1.5000 0.3827 -1.9616 1.5000 0.3902 -0.9808 1.5000 0.1951 -2.0000 1.5000 0.0000 -1.0000 1.5000 0.0000 -1.9616 1.5000 -0.3902 -0.9808 1.5000 -0.1951 -1.8478 1.5000 -0.7654 -0.9239 1.5000 -0.3827 -1.6629 1.5000 -1.1111 -0.8315 1.5000 -0.5556 -1.4142 1.5000 -1.4142 -0.7071 1.5000 -0.7071 -1.1111 1.5000 -1.6629 -0.5556 1.5000 -0.8315 -0.7654 1.5000 -1.8478 -0.3827 1.5000 -0.9239 -0.3902 1.5000 -1.9616 -0.1951 1.5000 -0.9808 -0.0000 1.5000 -2.0000 -0.0000 1.5000 -1.0000 0.3902 1.5000 -1.9616 0.1951 1.5000 -0.9808 0.7654 1.5000 -1.8478 0.3827 1.5000 -0.9239 1.1111 1.5000 -1.6629 0.5556 1.5000 -0.8315 1.4142 1.5000 -1.4142 0.7071 1.5000 -0.7071 1.6629 1.5000 -1.1111 0.8315 1.5000 -0.5556 1.8478 1.5000 -0.7654 0.9239 1.5000 -0.3827 1.9616 1.5000 -0.3902 0.9808 1.5000 -0.1951 2.0000 1.5000 -0.0000 1.0000 1.5000 -0.0000'/> |
46 | </IndexedTriangleSet> |
47 | <Appearance USE='AppearanceGrey'/> |
48 | </Shape> |
49 | </CADFace> |
50 | <CADFace name='bottomCap'> |
51 | <Shape containerField='shape'> |
52 | <IndexedTriangleSet ccw='true' colorPerVertex='true' index='0 1 2 2 1 3 2 3 4 4 3 5 4 5 6 6 5 7 6 7 8 8 7 9 8 9 10 10 9 11 10 11 12 12 11 13 12 13 14 14 13 15 14 15 16 16 15 17 16 17 18 18 17 19 18 19 20 20 19 21 20 21 22 22 21 23 22 23 24 24 23 25 24 25 26 26 25 27 26 27 28 28 27 29 28 29 30 30 29 31 30 31 32 32 31 33 32 33 34 34 33 35 34 35 36 36 35 37 36 37 38 38 37 39 38 39 40 40 39 41 40 41 42 42 41 43 42 43 44 44 43 45 44 45 46 46 45 47 46 47 48 48 47 49 48 49 50 50 49 51 50 51 52 52 51 53 52 53 54 54 53 55 54 55 56 56 55 57 56 57 58 58 57 59 58 59 60 60 59 61 60 61 62 62 61 63 62 63 64 64 63 65' normalPerVertex='true' solid='true' containerField='geometry'> |
53 | <Coordinate point='2.0000 -1.5000 -0.0000 1.0000 -1.5000 -0.0000 1.9616 -1.5000 -0.3902 0.9808 -1.5000 -0.1951 1.8478 -1.5000 -0.7654 0.9239 -1.5000 -0.3827 1.6629 -1.5000 -1.1111 0.8315 -1.5000 -0.5556 1.4142 -1.5000 -1.4142 0.7071 -1.5000 -0.7071 1.1111 -1.5000 -1.6629 0.5556 -1.5000 -0.8315 0.7654 -1.5000 -1.8478 0.3827 -1.5000 -0.9239 0.3902 -1.5000 -1.9616 0.1951 -1.5000 -0.9808 0.0000 -1.5000 -2.0000 0.0000 -1.5000 -1.0000 -0.3902 -1.5000 -1.9616 -0.1951 -1.5000 -0.9808 -0.7654 -1.5000 -1.8478 -0.3827 -1.5000 -0.9239 -1.1111 -1.5000 -1.6629 -0.5556 -1.5000 -0.8315 -1.4142 -1.5000 -1.4142 -0.7071 -1.5000 -0.7071 -1.6629 -1.5000 -1.1111 -0.8315 -1.5000 -0.5556 -1.8478 -1.5000 -0.7654 -0.9239 -1.5000 -0.3827 -1.9616 -1.5000 -0.3902 -0.9808 -1.5000 -0.1951 -2.0000 -1.5000 -0.0000 -1.0000 -1.5000 -0.0000 -1.9616 -1.5000 0.3902 -0.9808 -1.5000 0.1951 -1.8478 -1.5000 0.7654 -0.9239 -1.5000 0.3827 -1.6629 -1.5000 1.1111 -0.8315 -1.5000 0.5556 -1.4142 -1.5000 1.4142 -0.7071 -1.5000 0.7071 -1.1111 -1.5000 1.6629 -0.5556 -1.5000 0.8315 -0.7654 -1.5000 1.8478 -0.3827 -1.5000 0.9239 -0.3902 -1.5000 1.9616 -0.1951 -1.5000 0.9808 -0.0000 -1.5000 2.0000 -0.0000 -1.5000 1.0000 0.3902 -1.5000 1.9616 0.1951 -1.5000 0.9808 0.7654 -1.5000 1.8478 0.3827 -1.5000 0.9239 1.1111 -1.5000 1.6629 0.5556 -1.5000 0.8315 1.4142 -1.5000 1.4142 0.7071 -1.5000 0.7071 1.6629 -1.5000 1.1111 0.8315 -1.5000 0.5556 1.8478 -1.5000 0.7654 0.9239 -1.5000 0.3827 1.9616 -1.5000 0.3902 0.9808 -1.5000 0.1951 2.0000 -1.5000 0.0000 1.0000 -1.5000 0.0000'/> |
54 | </IndexedTriangleSet> |
55 | <Appearance USE='AppearanceGrey'/> |
56 | </Shape> |
57 | </CADFace> |
58 | </CADPart> |
59 | </CADAssembly> |
60 | </Scene> |
61 | </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. -->