formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Revolve
Description
Creates a revolved object from an existing object (source). The source object must have a single face. It can be an open or closed wire or a single face surface object.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_revolve(
fzrt_int | windex, |
src_obj, | |
model_type, | |
smooth_type, | |
ax_p1, | |
ax_p2, | |
double | angle, |
revl_opts, | |
refn_opts, | |
obj ) |
Parameters
windex [Input]
project window index
src_obj [Input]
source object
model_type [Input]
model type
smooth_type [Input]
smooth type
ax_p1 [Input]
first point on axis of revolution
ax_p2 [Input]
second point on axis of revolution
angle [Input]
revolution angle
Range: -2PI <= angle <= 2PI, but not equal to 0.0
revl_opts [Input, Optional]
construction options. For defaults see fz_objt_revolve_parm_enum
refn_opts [Input, Optional]
display resolution options. For defaults see see fz_attr_refn_parm_enum
obj [Result]
new object
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_objt_edit_revolve_parm_set, fz_objt_edit_revolve_parm_get
Function Set
Defined in