Path: Fix cut direction when CutPatternReversed is true for Circular

This commit is contained in:
Russell Johnson
2020-10-27 23:59:25 -05:00
parent f428ba6050
commit 3e9ea18051

View File

@@ -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]