NXOpen.UF.So.CreateBcurveThruPoints¶
-
So.
CreateBcurveThruPoints
()¶ Refer to UF_SO_create_bcurve_thru_points for documentation.
Signature:
CreateBcurveThruPoints(updateOption, numOfPoints, points, pointParameters, degree, periodic, startSlope, endSlope, startSlopeType, endSlopeType)
Parameters: - updateOption (
NXOpen.UF.So.UpdateOption
Refer to UF_SO_update_option_e for documentation.) – update option - numOfPoints (int) – Number of points used to define the B-spline
- points (list of Tag) – Array of points
- pointParameters (float) – Array of user-specified parameters for points. The array length should be num_of_points for non-periodic curve and num_of_points+1 for periodic curves. The parameters need to start from 0.0 and be monotonically increasing; however, they need not to be normalized. Pass in NULL to use the default chord-length parametrization.
- degree (int) – Degree of the B-spline curve
- periodic (int) – Curve type - 0 = non-periodic and 1 = Periodic.
- startSlope (Tag) – Tag of a point whose coordinates are used as the start slope of a non-periodic cubic bcurve.
- endSlope (Tag) – Tag of a point whose coordinates are used as the end slope of a non-periodic cubic bcurve.
- startSlopeType (int) – Start slope type of a non-periodic cubic bcurve. The available slope types are: -1 = no slope 0 = auto slope 1 = use only direction of slope 2 = use both direction and magnitude of slope
- endSlopeType (int) – End slope type of a non-periodic cubic bcurve. The available slope types are the same as above.
Returns: The smart B-spline
Return type: License requirements: None
- updateOption (