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='CADInterchange' 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='2' name='CADGeometry'/> |
6 | <component level='2' name='Geometry2D'/> |
7 | <component level='1' name='EnvironmentalEffects'/> |
8 | <component level='4' name='Shape'/> |
9 | <meta name='title' content='CadDesignPatternExampleBushing.x3d'/> |
10 | <meta name='description' content='Design pattern examples demonstrating proper hierarchy of CAD nodes: CADLayer, CADAssembly, CADPart, and then CADFace.'/> |
11 | <meta name='creator' content='Vince Marchetti, Don Brutzman'/> |
12 | <meta name='translator' content='Xj3D, http://www.xj3d.org'/> |
13 | <meta name='created' content='24 June 2012'/> |
14 | <meta name='modified' content='2 September 2024'/> |
15 | <meta name='Image' content='CadDesignPatternExampleBushingInstantReality.png'/> |
16 | <meta name='Image' content='CadDesignPatternExampleBushingBsContact.png'/> |
17 | <meta name='Image' content='CadDesignPatternExampleBushingCobweb.png'/> |
18 | <meta name='Image' content='CadDesignPatternExampleBushingFreeX3d.png'/> |
19 | <meta name='Image' content='CadDesignPatternExampleBushingInstantReality.png'/> |
20 | <meta name='Image' content='CadDesignPatternExampleBushingOctagaVs.png'/> |
21 | <meta name='Image' content='CadDesignPatternExampleBushingView3dscene.png'/> |
22 | <meta name='Image' content='CadDesignPatternExampleBushingX3dom.png'/> |
23 | <meta name='Image' content='CadDesignPatternExampleBushingXj3d.png'/> |
24 | <meta name='reference' content='https://www.web3d.org/member-only/mantis/view.php?id=528'/> |
25 | <meta name='reference' content='https://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/CADGeometry.html'/> |
26 | <meta name='subject' content='X3D CAD CADInterchange profile'/> |
27 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/CAD/CadDesignPatternExampleBushing.x3d'/> |
28 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
29 | <meta name='license' content='../license.html'/> |
30 | </head> |
31 | <Scene> |
32 | <WorldInfo title='CadDesignPatternExampleBushing.x3d'/> |
33 | <Background skyColor='0.9607843 1 0.9607843'/> |
34 | <Viewpoint description='Hello CAD bushing' orientation='1 0 0 -0.321751' position='0 5 15'/> |
35 | <CADAssembly name='DesignPatternAssembly'> |
36 | <CADPart name='CADPartSides'> |
37 | <!-- the rotation and translation attributes serve to position the bushing within the assembly --> |
38 | <CADFace name='outerSurface'> |
39 | <Shape containerField='shape'> |
40 | <!-- note solid='true' and so one-sided external rendering only --> |
41 | <Cylinder bottom='false' height='3' radius='2' top='false'/> |
42 |
<!-- Appearance
AppearanceGrey is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Appearance DEF='AppearanceGrey'> |
43 | <Material/> |
44 | </Appearance> |
45 | </Shape> |
46 | </CADFace> |
47 | <CADFace name='innerSurface'> |
48 | <Shape containerField='shape'> |
49 | <!-- note solid='false' and so two-sided internal + external rendering --> |
50 | <Cylinder bottom='false' height='3' solid='false' top='false'/> |
51 | <Appearance USE='AppearanceGrey'/> |
52 | </Shape> |
53 | </CADFace> |
54 | </CADPart> |
55 | <CADPart name='CADPartTop' rotation='1 0 0 1.5708' translation='0 1.5 0'> |
56 | <CADFace name='topCap'> |
57 | <Shape containerField='shape'> |
58 | <Disk2D innerRadius='1' outerRadius='2'/> |
59 | <Appearance USE='AppearanceGrey'/> |
60 | </Shape> |
61 | </CADFace> |
62 | </CADPart> |
63 | <CADPart name='CADPartBottom' rotation='-1 0 0 1.5708' translation='0 -1.5 0'> |
64 | <CADFace name='bottomCap'> |
65 | <Shape containerField='shape'> |
66 | <Disk2D innerRadius='1' outerRadius='2'/> |
67 | <Appearance USE='AppearanceGrey'/> |
68 | </Shape> |
69 | </CADFace> |
70 | </CADPart> |
71 | </CADAssembly> |
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. -->