From 7582f1799cc97eeab84a35c1ba84ac7da6ecd084 Mon Sep 17 00:00:00 2001 From: tomate44 Date: Tue, 24 May 2016 18:15:12 +0200 Subject: [PATCH] Update BSplineCurve interpolate documentation Update BSplineCurve interpolate() documentation for the new "parameters" argument --- src/Mod/Part/App/BSplineCurvePy.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mod/Part/App/BSplineCurvePy.xml b/src/Mod/Part/App/BSplineCurvePy.xml index c7b7ab507..f7e6bb828 100644 --- a/src/Mod/Part/App/BSplineCurvePy.xml +++ b/src/Mod/Part/App/BSplineCurvePy.xml @@ -305,7 +305,7 @@ from the knots table of this B-Spline curve. - interpolate(list_of_points, bool periodic = False, float tolerance = 1e-6, + interpolate(list_of_points, parameters = None, bool periodic = False, float tolerance = 1e-6, tangent1 = None, tangent2 = None) Replaces this B-Spline curve by interpolating a set of points. @@ -315,6 +315,9 @@ from the knots table of this B-Spline curve. tangent1, tangent2 specify tangent vectors for starting and ending points of the BSpline. Either none, or both must be specified. + + parameters is an optional KnotSequence. If not supplied, the function defaults to a + chord-length parameterization.