formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Smooth Rounded

# fz_objt_cnstr_srnd

Description

Creates a Smooth Rounded object from existing object. A set of Smooth Rounding options can be assigned to a group of edges and/or vertices. Multiple groups of edges and/or vertices can be assigned different sets of Smooth Rounding options through an array of such options. The edges to be rounded for each group are identified by their indices via fz_objt_srnd_opts_ptr. The points to be rounded for each group are identified by their indices via fz_objt_srnd_opts_ptr. The resulting object is a controlled object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_srnd(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fzrt_int | n_grup,
fz_objt_srnd_opts_ptr * | srnd_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

Source Object

n_grup [Input]

Number of groups

srnd_opts [Input]

Smooth rounding options array

refn_opts [Input, Optional]

Display resolution options
See fz_attr_refn_parm_enum for defaults

obj [Result]

New object

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_srnd.fsl

See Also

,,,

Function Set

fz_model_fset

Defined in

fz_objt_srnd_api.h