diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index 3c159f5335..f8eeedcc72 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -1408,7 +1408,7 @@ def drawSpline(spline, forceShape=False): ------- Part::Part2DObject or Part::TopoShape ('Edge', 'Face') The returned object is normally a `Draft BezCurve` - created with `Draft.make_bezcurve(controlpoints, Degree=degree)`, + created with `Draft.make_bezcurve(controlpoints, degree=degree)`, if `forceShape` is `False` and there are no weights. Otherwise it tries to return a `Part.Shape` of type `'Wire'`, @@ -1530,7 +1530,7 @@ def drawSpline(spline, forceShape=False): if not forceShape and weights is None: points = controlpoints[:] del points[degree+1::degree+1] - return Draft.make_bezcurve(points, Degree=degree) + return Draft.make_bezcurve(points, degree=degree) else: poles = controlpoints[:] edges = []