<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "http://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Immersiveversion='3.1xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation=' http://www.web3d.org/specifications/x3d-3.1.xsd '>
<head>
<meta name='titlecontent='CADGeometryExternPrototypes.x3d'/>
<meta name='descriptioncontent='X3D Amendment 1 CAD Component node prototypes for backwards compatibility with VRML97 and X3D 2004.'/>
<meta name='creatorcontent='Travis Rauch, Alan Shaffer, Mounir Sidhom, Patrick Sullivan and Don Brutzman'/>
<meta name='createdcontent='28 April 2005'/>
<meta name='modifiedcontent='28 September 2009'/>
<meta name='warningcontent='These scenes are not intended for regular authoring - use X3D v3.2 CAD component instead. Example scenes using these prototypes do not get support for making embdedded metadata values visible at run time, though metadata can certainly be saved in the scene file OK.'/>
<meta name='informationcontent='Recommended practice: support these CAD nodes natively in an X3D Amendment 1 compatible browser.'/>
<meta name='referencecontent='CADGeometryPrototypes.x3d'/>
<meta name='subjectcontent='CADAssembly CADFace CADLayer CADPart IndexedQuadSet QuadSet'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryExternPrototypes.x3d '/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent='../license.html'/>
</head>
<!--

Index for ExternProtoDeclare definitions: IndexedQuadSet, QuadSet, CADAssembly, CADFace, CADLayer, CADPart
-->
<Scene>
<ExternProtoDeclare name='IndexedQuadSetappinfo='The IndexedQuadSet node represents a 3D shape composed of a collection of individual quadrilaterals (quads). IndexedQuadSet uses the indices in its index field to specify the vertices of each quad from the coord field. Each quad is formed from a set of four vertices of the Coordinate node identified by four consecutive indices from the index field If the index field does not contain a multiple of four coordinate values the remaining vertices shall be ignored.documentation=' http://www.web3d.org/x3d/specifications/ISO-IEC-19775-Amendment1-PDAM-X3DAbstractSpecification/Part01/components/CADGeometry.html#IndexedQuadSet '
  url=' "CADGeometryPrototypes.x3d#IndexedQuadSet" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#IndexedQuadSet" "CADGeometryPrototypes.wrl#IndexedQuadSet" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#IndexedQuadSet" '>
<field name='set_indextype='MFInt32accessType='inputOnly'/>
<field name='colortype='SFNodeaccessType='inputOutput'
 appinfo='[X3DColorNode]'/>
<field name='coordtype='SFNodeaccessType='inputOutput'
 appinfo='[X3DCoordinateNode]'/>
<field name='fogCoordtype='SFNodeaccessType='inputOutput'
 appinfo='[FogCoordinate]'/>
<field name='normaltype='SFNodeaccessType='inputOutput'
 appinfo='[X3DNormalNode]'/>
<field name='texCoordtype='SFNodeaccessType='inputOutput'
 appinfo='[X3DTextureCoordinateNode]'/>
<field name='ccwtype='SFBoolaccessType='initializeOnly'/>
<field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='solidtype='SFBoolaccessType='initializeOnly'/>
<field name='indextype='MFInt32accessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- =========================================== -->
<ExternProtoDeclare name='QuadSetappinfo='The QuadSet node represents a 3D shape that represents a collection of individual planar quadrilaterals. The coord field contains a Coordinate node that defines the 3D vertices that define the quad. Each quad is formed from a consecutive set of four vertices of the coordinate node. If the coordinate node does not contain a multiple of four coordinate values the remaining vertices shall be ignored.documentation=' http://www.web3d.org/x3d/specifications/ISO-IEC-19775-Amendment1-PDAM-X3DAbstractSpecification/Part01/components/CADGeometry.html#QuadSet '
  url=' "CADGeometryPrototypes.x3d#QuadSet" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#QuadSet" "CADGeometryPrototypes.wrl#QuadSet" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#QuadSet" '>
<field name='attribtype='MFNodeaccessType='inputOutput'
 appinfo='[X3DVertexAttributeNode]'/>
<field name='colortype='SFNodeaccessType='inputOutput'
 appinfo='[X3DColorNode]'/>
<field name='coordtype='SFNodeaccessType='inputOutput'
 appinfo='[X3DCoordinateNode]'/>
<field name='fogCoordtype='SFNodeaccessType='inputOutput'
 appinfo='[FogCoordinate]'/>
<field name='normaltype='SFNodeaccessType='inputOutput'
 appinfo='[X3DNormalNode]'/>
<field name='texCoordtype='SFNodeaccessType='inputOutput'
 appinfo='[X3DTextureCoordinateNode]'/>
<field name='ccwtype='SFBoolaccessType='initializeOnly'/>
<field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
<field name='solidtype='SFBoolaccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ======================================== -->
<ExternProtoDeclare name='CADAssemblyappinfo='The CADAssembly node holds a set of assemblies or parts grouped together.'
  url=' "CADGeometryPrototypes.x3d#CADAssembly" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#CADAssembly" "CADGeometryPrototypes.wrl#CADAssembly" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#CADAssembly" '>
<field name='addChildrentype='MFNodeaccessType='inputOnly'/>
<field name='removeChildrentype='MFNodeaccessType='inputOnly'/>
<field name='childrentype='MFNodeaccessType='inputOutput'/>
<field name='nametype='SFStringaccessType='inputOutput'/>
<field name='bboxCentertype='SFVec3faccessType='initializeOnly'/>
<field name='bboxSizetype='SFVec3faccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ======================================== -->
<ExternProtoDeclare name='CADFaceappinfo='The CADFace node holds the geometry representing a face of a part.documentation=' http://www.web3d.org/x3d/specifications/ISO-IEC-19775-Amendment1-PDAM-X3DAbstractSpecification/Part01/components/CADGeometry.html#CADPart '
  url=' "CADGeometryPrototypes.x3d#CADFace" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#CADFace" "CADGeometryPrototypes.wrl#CADFace" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#CADFace" '>
<field name='nametype='SFStringaccessType='inputOutput'/>
<field name='shapetype='SFNodeaccessType='inputOutput'/>
<field name='bboxCentertype='SFVec3faccessType='initializeOnly'/>
<field name='bboxSizetype='SFVec3faccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ======================================== -->
<ExternProtoDeclare name='CADLayerappinfo='The CADLayer node defines a hierarchy of nodes used for showing layer structure.documentation=' http://www.web3d.org/x3d/specifications/ISO-IEC-19775-Amendment1-PDAM-X3DAbstractSpecification/Part01/components/CADGeometry.html#CADPart '
  url=' "CADGeometryPrototypes.x3d#CADLayer" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#CADLayer" "CADGeometryPrototypes.wrl#CADLayer" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#CADLayer" '>
<field name='addChildrentype='MFNodeaccessType='inputOnly'/>
<field name='removeChildrentype='MFNodeaccessType='inputOnly'/>
<field name='childrentype='MFNodeaccessType='inputOutput'/>
<field name='nametype='SFStringaccessType='inputOutput'/>
<field name='visibletype='MFBoolaccessType='inputOutput'/>
<field name='bboxCentertype='SFVec3faccessType='initializeOnly'/>
<field name='bboxSizetype='SFVec3faccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ======================================== -->
<ExternProtoDeclare name='CADPartappinfo='CADPart represents the location and faces that constitute a partdocumentation=' http://www.web3d.org/x3d/specifications/ISO-IEC-19775-Amendment1-PDAM-X3DAbstractSpecification/Part01/components/CADGeometry.html#CADPart '
  url=' "CADGeometryPrototypes.wrl#CADPart" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.wrl#CADPart" "CADGeometryPrototypes.x3d#CADPart" "http://www.web3d.org/x3d/content/examples/Basic/CAD/CADGeometryPrototypes.x3d#CADPart" '>
<field name='addChildrentype='MFNodeaccessType='inputOnly'/>
<field name='removeChildrentype='MFNodeaccessType='inputOnly'/>
<field name='childrentype='MFNodeaccessType='inputOutput'/>
<field name='nametype='SFStringaccessType='inputOutput'/>
<field name='translationtype='SFVec3faccessType='inputOutput'/>
<field name='rotationtype='SFRotationaccessType='inputOutput'/>
<field name='centertype='SFVec3faccessType='inputOutput'/>
<field name='scaletype='SFVec3faccessType='inputOutput'/>
<field name='scaleOrientationtype='SFRotationaccessType='inputOutput'/>
<field name='bboxCentertype='SFVec3faccessType='initializeOnly'/>
<field name='bboxSizetype='SFVec3faccessType='initializeOnly'/>
<field name='metadatatype='SFNodeaccessType='inputOutput'/>
</ExternProtoDeclare>
<!-- ======================================== -->
<Shape>
<Text string='"TODO: add examples"solid='false'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.9'/>
</Text>
<Appearance>
<Material diffuseColor='1 1 0.2'/>
</Appearance>
</Shape>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1'/>
</Appearance>
<ProtoInstance name='IndexedQuadSetcontainerField='geometry'>
<fieldValue name='indexvalue='0 3 2 1 4 5 6 7 2 7 9 8 2 3 4 7'/>
<fieldValue name='coord'>
<Coordinate point='-1.5 0 0 -1.5 1 -1 -.5 1 -1 -.5 0 0 0.5 0 0 1.5 0 0 1.5 1 -1 0.5 1 -1 -0.5 2 -1 0.5 2 -1'/>
</fieldValue>
</ProtoInstance>
</Shape>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definitions: IndexedQuadSet, QuadSet, CADAssembly, CADFace, CADLayer, CADPart
-->

<!-- Tag color codes (X3D, XML terminology): <Node field='value'/> <Element attribute='value'/> <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->