formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Convergence

# fz_objt_cnstr_converge

Description

Creates an extruded object from a source object. norm indicates the extrusion direction and must be a normalized vector. dist the extrusion height (may be negative, but must be non zero). If the source object has more than one face the first face is extruded. base is the base point from which the extrusion vector is applied. If passed as NULL, the center of gravity of the source's face is used.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_converge(

fzrt_int | windex,
fz_objt_ptr | src_obj,
fz_xyz_td * | norm,
double | dist,
fz_xyz_td * | base,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

norm [Input]

normal direction of extrusion. Must be a normalized vector

dist [Input]

Extrusion height. This may be any value except zero.

base [Input, Optional]

base point. The apex of the converged object is located along the extrusion direction at the given height about this base point. If passed as NULL, the center of gravity of the source is used.

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_ecdb.fsl

See Also

,

Function Set

fz_model_fset

Defined in

fz_objt_ecdb_api.h