From 220bf0e3968dd16be8925230d3bf4a68bb44513e Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Tue, 27 Oct 2020 23:59:25 -0500 Subject: [PATCH] Path: Fix cut direction when `CutPatternReversed` is true for `Circular` --- src/Mod/Path/PathScripts/PathSurfaceSupport.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Mod/Path/PathScripts/PathSurfaceSupport.py b/src/Mod/Path/PathScripts/PathSurfaceSupport.py index 3ba5c2078d..50964cdabc 100644 --- a/src/Mod/Path/PathScripts/PathSurfaceSupport.py +++ b/src/Mod/Path/PathScripts/PathSurfaceSupport.py @@ -1488,6 +1488,12 @@ def pathGeomToCircularPointSet(self, obj, compGeoShp): Y = (ep[1] - sp[1])**2 return math.sqrt(X + Y) # the 'z' value is zero in both points + if obj.CutPatternReversed: + if self.CutClimb: + self.CutClimb = False + else: + self.CutClimb = True + # Separate arc data into Loops and Arcs for ei in range(0, ec): edg = compGeoShp.Edges[ei]