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

# fz_objt_edit_mesh_object

Description

Meshes an object into a set of rectangular faces.
The size and orientation of the meshed faces are determined by the intersection of the object's faces with an imaginary 3D grid. This grid has separate dimensions in x y and z, a rotation in 3D space and an origin. The grid's parameters can be set in the mesh options. In addition meshing can be performed in all 3 grid dimensions, or in any combination of x, y or z dimensions only (for example x direction only, or x and z dimensions only).
Smooth and controlled objects are converted to plain facetted objects. Objects must be solids of surfaces.

Plugin Prototype

fzrt_error_td fz_objt_edit_mesh_object(

fzrt_int | windex,
fz_objt_ptr | obj,
fz_objt_mesh_opts_ptr | opts )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

opts [Input, Optional]

mesh options

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_meshes.fsl

See Also

fz_objt_edit_mesh_face

Function Set

fz_model_fset

Defined in

fz_objt_api.h