formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | 3D Enclosure
Description
Parameter identifiers for a parametric 3d enclosure object. Used for the "which" argument of fz_objt_edit_enclos3d_parm_get and .
enum fz_objt_enclos3d_parm_enum {
FZ_OBJT_ENCLOS3D_PARM_WIDTH,
FZ_OBJT_ENCLOS3D_PARM_ALIGN,
FZ_OBJT_ENCLOS3D_PARM_DIST,
FZ_OBJT_ENCLOS3D_PARM_NORM,
FZ_OBJT_ENCLOS3D_PARM_CLOSED_TOP,
FZ_OBJT_ENCLOS3D_PARM_CLOSED_BOTTOM,
FZ_OBJT_ENCLOS3D_PARM_THICK_TOP,
FZ_OBJT_ENCLOS3D_PARM_THICK_BOTTOM,
FZ_OBJT_ENCLOS3D_PARM_SRC_OBJ };
Members
FZ_OBJT_ENCLOS3D_PARM_WIDTH
Editing - 3d enclosure width.
Type: double
Range: value > 0.0
FZ_OBJT_ENCLOS3D_PARM_ALIGN
Editing - 3d enclosure alignment.
Type: fz_align_lcr_enum
FZ_OBJT_ENCLOS3D_PARM_DIST
Editing - 3d enclosure distance (height).This parameters may be any value, positive or negative, but cannot be equal to zero.
Type: double
FZ_OBJT_ENCLOS3D_PARM_NORM
Editing - 3d enclosure direction. This must be an unit (normalized) vector
Type: fz_xyz_td
FZ_OBJT_ENCLOS3D_PARM_CLOSED_TOP
Editing - 3d enclosure closed at top on/off.
Type: fzrt_boolean
FZ_OBJT_ENCLOS3D_PARM_CLOSED_BOTTOM
Editing - 3d enclosure closed at bottom on/off.
Type: fzrt_boolean
FZ_OBJT_ENCLOS3D_PARM_THICK_TOP
Editing - 3d enclosure top thickness.
Type: double
Range: value > 0.0
FZ_OBJT_ENCLOS3D_PARM_THICK_BOTTOM
Editing - 3d enclosure bottom thickness.
Type: double
Range: value > 0.0
FZ_OBJT_ENCLOS3D_PARM_SRC_OBJ
Editing - 3d enclosure source object. After creating a 3d enclosure object, the source object itself can be replaced by passing in a new object using the API function. Note, that the same restrictions apply for this object as for the one used to construct the 3d enclosure initially. When getting this parameter from an existing 3d enclosure, a copy of the source is made and passed back. It is the responsibility of the calling function to delete this new object afterwards, using fz_objt_edit_delete_objt.
Type: fz_objt_ptr
Availability
5.0.0.0
Defined in