From 9b2d39ae0dbe3f88d23adfa4bfb7905bf2ce06fd Mon Sep 17 00:00:00 2001 From: sliptonic Date: Tue, 6 Sep 2022 15:48:31 -0500 Subject: [PATCH] Fix bug when testing verticallity during PathFeedRate generation --- src/Mod/Path/PathFeedRate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathFeedRate.py b/src/Mod/Path/PathFeedRate.py index a64f084209..ad151342db 100644 --- a/src/Mod/Path/PathFeedRate.py +++ b/src/Mod/Path/PathFeedRate.py @@ -67,7 +67,7 @@ def setFeedRate(commandlist, ToolController): else currentposition.z ) endpoint = FreeCAD.Vector(x, y, z) - if currentposition == endpoint: + if PathGeom.pointsCoincide(currentposition, endpoint): return True return PathGeom.isVertical(Part.makeLine(currentposition, endpoint))