formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Plain Object Construction

# fz_objt_edit_frnd_plain

Description

Applies Plain Facetted Rounding to input object. The edges to be rounded are identified by an array of segment indices. The points to be rounded are identified by an array of point indices.

Plugin Prototype

fzrt_error_td fz_objt_edit_frnd_plain(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fzrt_int | n_edge,
fzrt_int * | eindex,
fzrt_int | n_vrtx,
fzrt_int * | vindex,
double | radius,
fzrt_int | nsides,
fz_objt_frnd_plain_type_enum | type,
fz_objt_frnd_opts_ptr | frnd_opts )

Parameters

windex [Input]

project window index

src_obj [Input]

Source object

n_edge [Input]

Number of edges

eindex [Input]

Array of edge indices

n_vrtx [Input]

Number of vertices

vindex [Input]

Array of edge indices

radius [Input]

Radius

nsides [Input]

Number of sides/points

type [Input]

Round type

frnd_opts [Input]

Facetted rounding options

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a solid or surface object

Availability

5.0.0.0

Example Files

util_objt_frnd.fsl

See Also

fz_objt_frnd_opts_init,, fz_objt_frnd_opts_get, fz_objt_frnd_opts_set,

Function Set

fz_model_fset

Defined in

fz_objt_frnd_api.h