formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
Description
Applies a bulge deformation to an object.
min and max are the vertical extents of the bounding box with 0.0 <= min < max <= 1.0
plane_rot is a zyx rotation of the work coordinate which orients the
axis of deformation.
center determines the pivot point of the deformation.
Note: FZ_OBJT_DEFORM_CENTER_TOP and FZ_OBJT_DEFORM_CENTER_BOTTOM will give
the same results for this deformation type.
bx_by is the bulge factor measured at the extreme of the deform bounding box,
opposite the center and is specified relative to this rotated coordinate .
The bulge axis always runs through the center of the bounding box of the object.
The bounding box is aligned with the axes of the rotated coordinate .
If make_fact_smooth is TRUE, facetted objects are turned into smooth objects.
Plugin Prototype
fzrt_error_td fz_objt_edit_deform_bulge(
fzrt_int | windex, |
obj, | |
center, | |
plane, | |
double | min, |
double | max, |
make_fact_smooth, | |
fz_xy_td * | bx_by, |
fz_xy_td * | sx_sy ) |
Parameters
windex [Input]
project window index
obj [Input, Result]
object
center [Input]
pivot point of the deformation
plane [Input]
coordinate which orients the axis of deformation
min [Input]
minimum vertical extents of the deform bounding box
Range: 0.0 <= min < max
max [Input]
maximum vertical extents of the deform bounding box
Range: min < max <= 1.0
make_fact_smooth [Input]
if TRUE, facetted objects are turned into smooth objects; otherwise facetted objects are left facetted
bx_by [Input]
bulge factor measured at the extreme of the deform bounding box, opposite the center and is specified relative to the rotated coordinate
sx_sy [Input, Optional]
the scale of the bulge measured at the extreme of the
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
, fz_objt_edit_deform_taper,, fz_objt_edit_deform_radial_shear, fz_objt_edit_deform_bend, fz_objt_edit_deform_bezier, ,,
Function Set
Defined in