formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Spline
Description
Creates multiple degree 3 b-splines curves, which go through the specified points. Each curve has "pts_per_seg" user points. model_type determines if a smooth or facetted spline is created. Note, that the resulting object type is not "Spline" but "Composite Curve" since there are multiple curves.
Plugin Prototype
fzrt_error_td fz_objt_cnstr_multi_spline_through_pts(
fzrt_int | windex, |
pts_in, | |
fzrt_int | npts, |
fzrt_int | pts_per_seg, |
closed, | |
model_type, | |
refn_opts, | |
obj ) |
Parameters
windex [Input]
project window index
pts_in [Input]
points through which the curves goe
npts [Input]
number of points
Range: npts >= 3
pts_per_seg [Input]
points per curve
closed [Input]
open or closed spline. If TRUE, the spline is closed.
model_type [Input]
model type
refn_opts [Input, Optional]
display resolution options. For defaults see fz_attr_refn_parm_enum
obj [Result]
new object
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
,
Function Set
Defined in