CADAssembly

From Web3D.org
Jump to: navigation, search

CADAssembly

Specification Link: CADAssembly

CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
  MFNode   [in]     addChildren
  MFNode   [in]     removeChildren
  MFNode   [in,out] children       []       [X3DProductStructureChildNode]
  SFNode   [in,out] metadata       NULL     [X3DMetadataObject]
  SFString [in,out] name ""
  SFVec3f  []       bboxCenter     0 0 0    (-∞,∞)
  SFVec3f  []       bboxSize       -1 -1 -1 [0,∞) or −1 −1 −1
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of Prototype nodes or nodes of the following types in any order.
    1. CADAssembly
    2. CADPart
    3. Anchor
    4. Billboard
    5. Collision
    6. Group
    7. Inline
    8. LOD
    9. Transform
    10. DirectionalLight
    11. NavigationInfo
    12. OrthoViewpoint
    13. Viewpoint
    14. ViewpointGroup
    15. WorldInfo

NOTE: The above list is very different from what the specification permits. This has been raised and is awaiting resolution.

Attributes

There is no validation of the numerical values of the bboxCenter or bboxSize fields. Neither is there any validation of the number of values.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of Prototype nodes or nodes of the following types in any order.
    1. CADAssembly
    2. CADPart
    3. Anchor
    4. Billboard
    5. Collision
    6. Group
    7. Inline
    8. LOD
    9. Transform
    10. DirectionalLight
    11. NavigationInfo
    12. OrthoViewpoint
    13. Viewpoint
    14. ViewpointGroup
    15. WorldInfo

NOTE: The above list is very different from what the specification permits. This has been raised and is awaiting resolution.

Attributes

  • The bboxCenter field accepts a triplet of numerical values.
  • The bboxsize field accepts either three values, each one being greater than or equal to zero, or the triplet -1 -1 -1.

Schematron Validation

TBD