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

# fz_objt_cnstr_bend

Description

Creates a Bend object by curve. This function constructs a Smooth object by sweeping the source object along the path object while offsetting the source by an amount specified by the given curve object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_bend(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fz_objt_ptr | crv_obj,
fz_xyz_td* | axis_p1,
fz_xyz_td* | axis_p2,
fz_xyz_td* | align_vec,
fz_objt_bend_scale_enum | scale_type,
fz_objt_model_type_enum | model_type,
fz_objt_bend_cnstr_opts_ptr | bend_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr* | obj )

Parameters

windex [Input]

Project window index

src_obj [Input]

Source object

crv_obj [Input]

Curve object

axis_p1 [Input]

Axis start point

axis_p2 [Input]

Axis end point

align_vec [Input]

Alignment axis vector

scale_type [Input]

Scaling Type

model_type [Input]

Model Type

bend_opts [Input, Optional]

Bend construction options

refn_opts [Input, Optional]

Display resolution

obj [Result]

New object

Returns

Error codes

Availability

5.5.0.0

Example Files

util_objt_bend.fsl

See Also

, fz_objt_cnstr_bend_opts_get, fz_objt_cnstr_bend_opts_set

Function Set

fz_model_fset

Defined in

fz_objt_bend_api.h