formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

# fz_objt_edit_stitch_objects

Description

Stitches multiple surface objects.
Stitching looks for faces which have reversely coincident segments, but geometrically duplicate points. A new object is created from all the stitched objects and returned in the obj parameter.
Note : If there are no common reversely coincident segments in the objects, the resulting object contains the faces of all objects in the entity list as if the objects were joined.

Plugin Prototype

fzrt_error_td fz_objt_edit_stitch_objects(

fzrt_int | windex,
fz_objt_ptr * | src_obj,
fzrt_int | nobj,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

src_obj [Input]

array of source objects

nobj [Input]

number of source objects

Range: nobj >= 2

obj [Result]

stitched object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_split_stitch.fsl

See Also

,,,, fz_objt_edit_trim_with_surface,,, fz_objt_edit_split_with_line, fz_objt_edit_stitch_faces, , fz_objt_edit_section3d, fz_objt_edit_section2d, fz_objt_edit_volumes_join,

Function Set

fz_model_fset

Defined in

fz_objt_api.h