element CADPart
diagram x3d-4.0_diagrams/x3d-4.0_p25.png
type extension of X3DProductStructureChildNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString CADFace ProtoInstance
used by
element TransformSensor
groups ChildContentModelFull PickSensorGroupingNodeContentModel
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.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
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    
bboxDisplay  SFBool    false    
visible  SFBool    true    
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/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1/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="bboxDisplay" type="SFBool" default="false"/>
       
<xs:attribute name="visible" type="SFBool" default="true"/>
       
<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 \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/@bboxDisplay
type SFBool
properties
default false
source <xs:attribute name="bboxDisplay" type="SFBool" default="false"/>

attribute CADPart/@visible
type SFBool
properties
default true
source <xs:attribute name="visible" type="SFBool" default="true"/>

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