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

# fz_objt_cnstr_objt_from_nsrfs

Description

Creates a smooth object from the given array of NURBS surfaces ( fz_nurbs_srf_ptr*). If ignore_discont is FALSE, the NURBS surfaces are split at G1 discontinuities. If stitch is FALSE, an object with multiple disjoint faces is returned. This function is similar to , but takes an array of NURBS surfaces. The resulting object is a plain object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_objt_from_nsrfs(

fzrt_int | windex,
fz_nurbs_srf_ptr * | srfs,
fzrt_int | n_srfs,
fzrt_boolean | ignore_discont,
fzrt_boolean | stitch,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

srfs [Input]

array with NURBS surfaces

n_srfs [Input]

number of NURBS surfaces in the array

Range: n_srfs >= 1

ignore_discont [Input]

if TRUE, discontinuities in the surfaces are ignored.

stitch [Input]

if TRUE, an attempt is made to stitch all faces, resulting from the NURBS surfaces into a single object.

refn_opts [Input, Optional]

display resolution options. For defaults see see fz_attr_refn_parm_enum.

obj [Result]

formZ object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_nrbz.fsl

See Also

,,

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h