formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Extrusion
Description
Parameter identifiers for a parametric extruded object. Used for the "which" argument of fz_objt_edit_extrude_parm_get and fz_objt_edit_extrude_parm_set.
enum fz_objt_extrude_parm_enum {
FZ_OBJT_EXTRUDE_PARM_DIST,
FZ_OBJT_EXTRUDE_PARM_NORM,
FZ_OBJT_EXTRUDE_PARM_SRC_OBJ };
Members
FZ_OBJT_EXTRUDE_PARM_DIST
Editing - Extrusion distance (height). This parameters may be any value, positive or negative, but cannot be equal to zero.
Type: double
FZ_OBJT_EXTRUDE_PARM_NORM
Editing - Extrusion direction. This must be an unit (normalized) vector
Type: fz_xyz_td
FZ_OBJT_EXTRUDE_PARM_SRC_OBJ
Editing - Extrusion source object. After creating an extruded object, the source object itself can be replaced by passing in a new object using the fz_objt_edit_extrude_parm_set API function. Note, that the same restrictions apply for this object as for the one used to construct the extrusion initially. When getting this parameter from an existing extrusion via fz_objt_edit_extrude_parm_set, a copy of the source is made and passed back. It is the responsibility of the calling function to delete this new object afterwards.
Type: fz_objt_ptr
Availability
5.0.0.0
Defined in