Fixed cut mode for pocket shape.

This commit is contained in:
Markus Lampert
2017-11-23 19:42:16 -08:00
committed by Yorik van Havre
parent e7a509306e
commit 0f6d0221f1

View File

@@ -115,6 +115,9 @@ class ObjectPocket(PathAreaOp.ObjectOp):
'''areaOpAreaParams(obj, isHole) ... return dictionary with pocket's path parameters'''
params = {}
CutMode = ['Conventional', 'Climb']
params['orientation'] = CutMode.index(obj.CutMode)
# if MinTravel is turned on, set path sorting to 3DSort
# 3DSort shouldn't be used without a valid start point. Can cause
# tool crash without it.