diff --git a/src/Mod/Draft/importDXF.py b/src/Mod/Draft/importDXF.py index 76d5664664..543ab56a65 100644 --- a/src/Mod/Draft/importDXF.py +++ b/src/Mod/Draft/importDXF.py @@ -3009,7 +3009,7 @@ def getSplineSegs(edge): It returns the point in `edge.FirstParameter`, all the intermediate points, and the point in `edge.LastParameter`. - If the `segmentlenth` variable is zero in the parameters database, + If the `segmentlength` variable is zero in the parameters database, then it only returns the first and the last point of the `edge`. """ params = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft") diff --git a/src/Mod/Path/PathScripts/PathDressupAxisMap.py b/src/Mod/Path/PathScripts/PathDressupAxisMap.py index 7ce73ab9e1..d839bbd538 100644 --- a/src/Mod/Path/PathScripts/PathDressupAxisMap.py +++ b/src/Mod/Path/PathScripts/PathDressupAxisMap.py @@ -79,7 +79,7 @@ class ObjectDressup: return None def _linear2angular(self, radius, length): - """returns an angular distance in degrees to achieve a linear move of a given lenth""" + """returns an angular distance in degrees to achieve a linear move of a given length""" circum = 2 * math.pi * float(radius) return 360 * (float(length) / circum) diff --git a/src/Mod/Path/PathScripts/PathHelix.py b/src/Mod/Path/PathScripts/PathHelix.py index bda1fa1fb0..b64efd0c0b 100644 --- a/src/Mod/Path/PathScripts/PathHelix.py +++ b/src/Mod/Path/PathScripts/PathHelix.py @@ -198,7 +198,7 @@ class ObjectHelix(PathCircularHoleBase.ObjectOp): endPoint = FreeCAD.Vector(hole["x"], hole["y"], obj.FinalDepth.Value) args["edge"] = Part.makeLine(startPoint, endPoint) - # move to starting postion + # move to starting position self.commandlist.append( Path.Command("G0", {"Z": obj.ClearanceHeight.Value}) )