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

# fz_objt_cnstr_parallel_single

Description

Creates a single parallel offset object. Horizontal faces are all planar faces with an angle of less than 5 degrees to the xy plane. These faces are offset with offset_horz. All other faces are offset with offset_vert.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_parallel_single(

fzrt_int | windex,
fz_objt_ptr | src_obj,
double | offset_horz,
double | offset_vert,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

source object

offset_horz [Input]

horizontal offset

offset_vert [Input]

vertical offset

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_derv.fsl

Function Set

fz_model_fset

Defined in

fz_objt_api.h