Titania X3D Editor

Bring Colours to Your Life.

Titania v4.0.1

Bring Colours to Your Life.

X3D Reference

CADFace

CADFace

CADFace holds geometry representing one face in a Computer-Aided Design (CAD) CADPart. CADFace can only contain a single Shape or LOD node (with containerField='shape').

The CADFace node belongs to the CADGeometry component and its container field is children. It is available since X3D version 3.1 or later.

Hierarchy

* Derived from multiple interfaces.

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFString [in, out] name ""

Optional name for this particular CAD node.

Warning

Name is not included if this instance is a USE node.

SFVec3f [ ] bboxSize -1 -1 -1 [0, ∞) or -1 -1 -1

Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.

Hint

Can be useful for collision computations or inverse-kinematics (IK) engines.

SFVec3f [ ] bboxCenter 0 0 0 (-∞, ∞)

Bounding box center: optional hint for position offset from origin of local coordinate system.

SFNode [in, out] shape NULL [X3DShapeNode, LOD, Transform]

Input/Output field shape.

Description

Hints

  • Only zero or one Shape child can be active at one time.
  • Include <component name='CADGeometry' level='2'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links