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

# fz_objt_cnstr_nrbz_curve_sections

Description

Create a nurbz curve object from a set of profile curves. There must be at least 3 profiles. All the cross sections generated will be closed. If use_plane is TRUE, the normal of the plane is specified in the next parameter. The profiles are intersected with the plane and the intersection points are used to generate the cross sections. If use_plane is FALSE, the cross sections are generated through equally spaced points along the profile curves.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_curve_sections(

fzrt_int | windex,
fz_objt_ptr * | crv_objs,
fzrt_int | nobjs,
fzrt_int | n_sections,
fzrt_boolean | use_plane,
fz_xyz_td * | normal,
fz_attr_refn_ptr | refn_opts,
fz_enty_list_ptr | ent_list )

Parameters

windex [Input]

project window index

crv_objs [Input]

profile curves

nobjs [Input]

number of profiles

Range: nobjs >= 3

n_sections [Input]

number of cross sections

use_plane [Input]

TRUE, if plane is specified

normal [Input]

normal direction of the plane

refn_opts [Input, Optional]

Refinement options

ent_list [Result]

list of nurbz object pointers

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_curv.fsl

See Also

, fz_objt_cnstr_nrbz_curve_extract

Function Set

fz_model_fset

Defined in

fz_objt_ncrv_api.h