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

# fz_objt_cnstr_nrbz_through_curves

Description

Creates a nurbz object by lofting the given curves. There are two types of lofting. Loose lofting gets the control points from the curves to build the surface and the surface may not pass through all the curves. Tight lofting calculates the control points of the surface so that the surface passes through all the curves. The type of lofting can be specified in the is_tight parameter.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_through_curves(

fzrt_int | windex,
fz_objt_ptr * | loft_crvs,
fzrt_int | n_crvs,
fzrt_boolean | is_tight,
fzrt_boolean | is_deg_from_src,
fzrt_int | u_degree,
fzrt_int | v_degree,
fzrt_boolean | is_depth_closed,
fzrt_boolean | adjust_dir,
fz_objt_nrbz_cnstr_opts_ptr | nrbz_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

loft_crvs [Input]

array of curve objects

n_crvs [Input]

number of curves

Range: n_crvs >= 2

is_tight [Input]

if TRUE, tight lofting is done
if FALSE, loose lofting is done

is_deg_from_src [Input]

if TRUE, the surface will inherit the degree from the input curves.
If FALSE, the surface's degrees must be specified in the next two parameters.

u_degree [Input]

degree in the u direction

v_degree [Input]

degree in the v direction

is_depth_closed [Input]

if TRUE, a closed surface is created from the curves

adjust_dir [Input]

if TRUE, curves will be aligned to avoid creating a twisted surface

nrbz_opts [Input, Optional]

capping and rounding options

refn_opts [Input, Optional]

refinement options

obj [Result]

nurbz object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_nrbz.fsl

See Also

,, fz_objt_cnstr_nrbz_from_uv_curves, fz_objt_cnstr_nrbz_through_points

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h