element CADPart
diagram x3d-3.1_diagrams/x3d-3.1_p16.png
type extension of X3DProductStructureChildNode
properties
content complex
children IS MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CADFace ProtoInstance
used by
group ChildContentModelFull
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referenceable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
name  SFString        
appinfo
name attribute is ordinarily required, unless this is a USE node
center  SFVec3f    0 0 0    
rotation  SFRotation    0 0 1 0    
scale  SFVec3f    1 1 1    
scaleOrientation  SFRotation    0 0 1 0    
translation  SFVec3f    0 0 0    
bboxCenter  SFVec3f    0 0 0    
bboxSize  bboxSizeType    -1 -1 -1    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="CADFace">
<xs:annotation>
<xs:documentation>CADPart implements X3DGroupingNode but can only contain CADFace or ProtoInstance nodes</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="removeChildren" type="MFNode" fixed="inputOnlyField" default="CADFace"/>
<xs:element name="children" type="MFNode" fixed="inputOutputField" default="CADFace"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DGroupingNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="CADGeometry"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="CADPart">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="CADFace">
       
<xs:annotation>
         
<xs:documentation>CADPart implements X3DGroupingNode but can only contain CADFace or ProtoInstance nodes</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="removeChildren" type="MFNode" fixed="inputOnlyField" default="CADFace"/>
     
<xs:element name="children" type="MFNode" fixed="inputOutputField" default="CADFace"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DGroupingNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="CADGeometry"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/CADGeometry.html#CADPart"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DProductStructureChildNode">
       
<xs:choice minOccurs="0" maxOccurs="unbounded">
         
<xs:annotation>
           
<xs:documentation>children</xs:documentation>
         
</xs:annotation>
         
<xs:element ref="CADFace"/>
         
<xs:element ref="ProtoInstance">
           
<xs:annotation>
             
<xs:documentation>Appropriately typed substitution node</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:choice>
       
<xs:attribute name="center" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="rotation" type="SFRotation" default="0 0 1 0"/>
       
<xs:attribute name="scale" type="SFVec3f" default="1 1 1"/>
       
<xs:attribute name="scaleOrientation" type="SFRotation" default="0 0 1 0"/>
       
<xs:attribute name="translation" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>
       
<xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
     
<!-- bboxDisplay, visible added in X3D version 4.0 -->
     
<!-- additional contained element (node) content -->
     
<!-- additional contained attribute (simple-type) content, matching X3DGroupingNode -->
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute CADPart/@center
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="center" type="SFVec3f" default="0 0 0"/>

attribute CADPart/@rotation
type SFRotation
properties
default 0 0 1 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){3}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="rotation" type="SFRotation" default="0 0 1 0"/>

attribute CADPart/@scale
type SFVec3f
properties
default 1 1 1
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="scale" type="SFVec3f" default="1 1 1"/>

attribute CADPart/@scaleOrientation
type SFRotation
properties
default 0 0 1 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){3}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="scaleOrientation" type="SFRotation" default="0 0 1 0"/>

attribute CADPart/@translation
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="translation" type="SFVec3f" default="0 0 0"/>

attribute CADPart/@bboxCenter
type SFVec3f
properties
default 0 0 0
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*(([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>

attribute CADPart/@bboxSize
type bboxSizeType
properties
default -1 -1 -1
facets
Kind Value Annotation
whiteSpace collapse
pattern \s*((([+]?(((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s+){2}([+]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*)|((\-1(\.(0)*)?([Ee][+-]?[0]+)?\s+){2}\-1(\.(0)*)?([Ee][+-]?[0]+)?)\s*)?
source <xs:attribute name="bboxSize" type="bboxSizeType" default="-1 -1 -1"/>

attribute CADPart/@containerField
type xs:NMTOKEN
properties
default children
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy