Path: Fix cut direction when CutPatternReversed is true for Circular

This commit is contained in:
Russell Johnson
2020-11-08 22:56:49 -06:00
parent 4c558f1a30
commit 220bf0e396
@@ -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]