Skip to content

Commit

Permalink
Path: Fix cut direction when CutPatternReversed is true for Circular
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ4262 committed Nov 9, 2020
1 parent 4c558f1 commit 220bf0e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Mod/Path/PathScripts/PathSurfaceSupport.py
Expand Up @@ -1488,6 +1488,12 @@ def gapDist(sp, ep):
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]
Expand Down

0 comments on commit 220bf0e

Please sign in to comment.