formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Facetted Rounded
Description
Creates a Facetted Rounded object from an existing object. The edges to be rounded are identified by an array of segment indices. Radius and number of sides for each segment is specified in corresponding arrays. The maximum value of number of sides is used for all segments. The points to be rounded are identified by an array of point indices. Radius and number of points for each vertex is specified in corresponding arrays. The resulting object is a controlled object.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_frnd(
fzrt_int | windex, |
src_obj, | |
fzrt_int | n_edge, |
fzrt_int * | eindex, |
double * | eradii, |
fzrt_int * | esides, |
fzrt_int | n_vrtx, |
fzrt_int * | vindex, |
double * | vradii, |
fzrt_int * | vsides, |
frnd_opts, | |
new_obj ) |
Parameters
windex [Input]
project window index
src_obj [Input]
Source object
n_edge [Input]
Number of edges
eindex [Input]
Array of edge indices
eradii [Input]
Array of edge radii
esides [Input]
Array of edge nsides
n_vrtx [Input]
Number of vertices
vindex [Input]
Array of vertex indices
vradii [Input]
Array of vertex radii
vsides [Input]
Array of vertex nsides
frnd_opts [Input]
Facetted rounding options
new_obj [Result]
New object
Returns
Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a solid or surface object
Availability
5.0.0.0
Example Files
See Also
fz_objt_frnd_opts_init,, fz_objt_frnd_opts_get, fz_objt_frnd_opts_set
Function Set
Defined in