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

fz_objt_cnstr_nrbz_trimmed_map

Description

Creates a Trimmed nurbz object by mapping an array of curve objects onto the parameter space of a nurbz object. plane_rot is a zyx rotation of the work coordinate which orients all the curves with reference to the nurbz surface

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_trimmed_map(

fzrt_int

windex,

fz_objt_ptr

srf_obj,

fzrt_int

n_crv_obj,

fz_objt_ptr *

crv_obj,

double

map_size,

fzrt_boolean

make_holes,

fz_xyz_td *

plane_rot,

fzrt_boolean

absolute_uv,

fz_objt_ptr *

new_obj )

Parameters

windex [Input]

project window index

srf_obj [Input]

nurbz object

n_crv_obj [Input]

number of trim curve objects

crv_obj [Input]

array of trim curve objects

map_size [Input]

Maximum parameter space size %

Range: 0.0 < map_size < 1.0

make_holes [Input]

TRUE: trim curves enclose holes FALSE: trim curves enclose surface

plane_rot [Input]

zyx rotation of plane (Optional)

absolute_uv [Input]

switch to use absolute parameter values

new_obj [Result]

new object

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - source objects passed in are not nurbz objects or are nurbz objects but are trimmed

Availability

5.0.0.0

Example Files

util_objt_trimmed_nrbz.fsl

See Also

Function Set

fz_model_fset


Defined in

fz_objt_nrbz_api.h