NXOpen.UF.Curve.CreateSplineThruPts¶
-
Curve.
CreateSplineThruPts
()¶ Refer to UF_CURVE_create_spline_thru_pts for documentation.
Signature:
CreateSplineThruPts(degree, periodicity, numPoints, pointData, parameters, saveDefData)
Parameters: - degree (int) – degree of the spline
- periodicity (int) – periodicity of the spline: 0=non-periodic, 1=periodic
- numPoints (int) – number of points and parameters in the following arrays
- pointData (list of
NXOpen.UF.Curve.PtSlopeCrvatr
Refer to UF_CURVE_pt_slope_crvatr_s for documentation.) – array of data defining points and slope/curvature control - parameters (list of float) – parameters of input points. This is a user specified parameterization for the input points, which needs to be monotonic increasing (i.e. parameters(i)
- saveDefData (int) – If save_def_data = 1, save input defining data with the created spline. Otherwise, no.
Returns: tag of the created spline
Return type: License requirements: None