Fixed initial Side determination for CCW paths.

This commit is contained in:
ml 2016-10-07 14:41:39 -07:00 committed by Markus Lampert
parent 92eaeabc4c
commit 43066f98b6

View File

@ -233,15 +233,12 @@ class ObjectDressup:
if not hasattr(self, 'toolRadius'):
print("Here we go ... ")
# By default the side for dogbones is opposite of the base path side
if obj.Base.Direction == 'CCW':
obj.Side = obj.Base.Side
if obj.Base.Side == 'Left':
obj.Side = 'Right'
elif obj.Base.Side == 'Right':
obj.Side = 'Left'
else:
if obj.Base.Side == 'Left':
obj.Side = 'Right'
elif obj.Base.Side == 'Right':
obj.Side = 'Left'
else:
obj.Side = 'On'
obj.Side = 'On'
self.toolRadius = 5
toolLoad = PathUtils.getLastToolLoad(obj)