formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | 3D Enclosure

fz_objt_cnstr_enclos3d

Description

Creates a 3d enclosure object from a source object.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_enclos3d(

fzrt_int

windex,

fz_objt_ptr

src_obj,

fz_xyz_td *

norm,

double

dist,

double

width,

double

thick_top,

double

thick_bottom,

fz_align_lcr_enum

align,

fzrt_boolean

closed_top,

fzrt_boolean

closed_bottom,

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.

width [Input]

enclosure wall width.

Range: width > 0.0

thick_top [Input]

Thickness of enclosure top.

Range: thick_top > 0.0

thick_bottom [Input]

Thickness of enclosure bottom.

Range: thick_bottom > 0.0

align [Input]

alignment relative to the direction of the source.

closed_top [Input]

Enclosure closed (TRUE) or open (FALSE) at top.

closed_bottom [Input]

Enclosure closed (TRUE) or open (FALSE) at bottom.

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_ecdb.fsl

See Also

fz_objt_edit_enclos3d_parm_get,

Function Set

fz_model_fset


Defined in

fz_objt_ecdb_api.h