element CADPart
diagram 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, referencable 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 XML stylesheets.
name  SFString        
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  boundingBoxSizeType    -1 -1 -1    
containerField  xs:NMTOKEN    children    
annotation
appinfo
<!-- CADPart implements X3DGroupingNode but can only contain CADFace nodes -->
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="CADFace"/>
<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="xs:NMTOKEN" fixed="CADGeometry"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="CADPart">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- CADPart implements X3DGroupingNode but can only contain CADFace nodes -->
     
<xs:element name="addChildren" type="MFNode" fixed="inputOnlyField" default="CADFace"/>
     
<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="xs:NMTOKEN" fixed="CADGeometry"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="http://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="boundingBoxSizeType" default="-1 -1 -1"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="children"/>
     
</xs:extension>
     
<!-- 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 ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
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 ((\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
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 ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
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 ((\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(((\.[0-9]+|0(\.[0-9]*)?)((E|e)(\+|\-)?[0-9]+)?)|(1(\.[0]*)?((E|e)\-[0-9]+)?)|([1-9](\.[0-9]*)((E|e)\-[0-9]+))) (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
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 ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
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 ((\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)? (\+|\-)?(0|[1-9][0-9]*)?(\.[0-9]*)?((E|e)(\+|\-)?[0-9]+)?)?
source <xs:attribute name="bboxCenter" type="SFVec3f" default="0 0 0"/>

attribute CADPart/@bboxSize
type boundingBoxSizeType
properties
default -1 -1 -1
facets
Kind Value Annotation
whiteSpace collapse
pattern (((\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)? (\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)? (\+)?([1-9][0-9]*(\.[0-9]*)?|(0?\.[0-9]*[1-9][0-9]*))((E|e)(\+|\-)?[0-9]+)?)|(\-1(\.(0)*)? \-1(\.(0)*)? \-1(\.(0)*)?))?
source <xs:attribute name="bboxSize" type="boundingBoxSizeType" 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