NXOpen.UF.Curve.AskSplineThruPts

Curve.AskSplineThruPts()

Refer to UF_CURVE_ask_spline_thru_pts for documentation.

Signature: AskSplineThruPts(splineTag)

Parameters:splineTag (Tag) – tag of spline for which to return data
Returns:A Tuple
Return type:A tuple consisting of (degree,periodicity,numPoints,pointData,parameters)

degree(int): degree of the spline

periodicity(int): periodicity of the spline

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. This array must be freed by passing it to UF_free.

parameters(list of float): Parameters of the points defining the spline. This is a user specified parameterization for the spline definitions points, which needs to be monotonic increasing, but does not need to be normalized, if NULL then default parameterization will be used. This array need to be freed by calling UF_free.

License requirements: None