formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Bend Curve

# fz_objt_bend_parm_enum

Description

Parameter identifiers for a parametric bend object. Used for the "which" argument of fz_objt_edit_bend_parm_get, fz_objt_edit_bend_parm_set, fz_objt_cnstr_bend_opts_get and fz_objt_cnstr_bend_opts_set. After creating a bend object, the source and curve objects can be replaced by passing in a new object using the fz_objt_edit_bend_parm_set API function. Note, that the same restrictions apply for the new objects as for the ones used to construct the bend object initially. When getting the source or curve objects from an existing bend object via fz_objt_edit_bend_parm_get, a copy of the source or curve 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.

enum fz_objt_bend_parm_enum {

FZ_OBJT_BEND_PARM_ROT,

FZ_OBJT_BEND_PARM_BEG,

FZ_OBJT_BEND_PARM_END,

FZ_OBJT_BEND_PARM_JOIN_COPLANAR,

FZ_OBJT_BEND_PARM_TRIANGULATE,

FZ_OBJT_BEND_PARM_MODEL_TYPE,

FZ_OBJT_BEND_PARM_SCL_TYPE,

FZ_OBJT_BEND_PARM_SRC_OBJ,

FZ_OBJT_BEND_PARM_CRV_OBJ,

FZ_OBJT_BEND_PARM_KEEP_FACES };

Members

FZ_OBJT_BEND_PARM_ROT

Construction and Editing - rotation of alignment axis.

Type: double

Default Value: 0

FZ_OBJT_BEND_PARM_BEG

Construction and Editing - Start point along curve.

Type: double

Default Value: 0

FZ_OBJT_BEND_PARM_END

Construction and Editing - End point along curve.

Type: double

Default Value: 1

FZ_OBJT_BEND_PARM_JOIN_COPLANAR

Construction and Editing - Join coplanar faces. Applicable only for model type Facetted.

Type: fz_boolean

Default Value: FALSE

FZ_OBJT_BEND_PARM_TRIANGULATE

Construction and Editing - Triangulate nonplanar faces.
Applicable only for model type Facetted.

Type: fz_boolean

Default Value: FALSE

FZ_OBJT_BEND_PARM_MODEL_TYPE

Editing - Model type.

Type: fz_objt_model_type_enum

FZ_OBJT_BEND_PARM_SCL_TYPE

Construction and Editing - Scaling type.

Type: fz_objt_bend_scale_enum

Default Value: FZ_OBJT_BEND_SCL_NATURAL

FZ_OBJT_BEND_PARM_SRC_OBJ

Editing - Bend source object.

Type: fz_objt_ptr

FZ_OBJT_BEND_PARM_CRV_OBJ

Editing - Bend curve object.

Type: fz_objt_ptr

FZ_OBJT_BEND_PARM_KEEP_FACES

Construction and Editing - Keep original faces (i.e. Do not add faces.
Applicable only for model type Facetted.

Type: fz_boolean

Default Value: FALSE

Availability

5.5.0.0

See Also

fz_objt_edit_bend_parm_get, fz_objt_edit_bend_parm_set, fz_objt_cnstr_bend_opts_get, fz_objt_cnstr_bend_opts_set

Defined in

fz_objt_bend_api.h