Fixed initial Side determination for CCW paths.
This commit is contained in:
parent
92eaeabc4c
commit
43066f98b6
|
@ -233,15 +233,12 @@ class ObjectDressup:
|
||||||
if not hasattr(self, 'toolRadius'):
|
if not hasattr(self, 'toolRadius'):
|
||||||
print("Here we go ... ")
|
print("Here we go ... ")
|
||||||
# By default the side for dogbones is opposite of the base path side
|
# By default the side for dogbones is opposite of the base path side
|
||||||
if obj.Base.Direction == 'CCW':
|
if obj.Base.Side == 'Left':
|
||||||
obj.Side = obj.Base.Side
|
obj.Side = 'Right'
|
||||||
|
elif obj.Base.Side == 'Right':
|
||||||
|
obj.Side = 'Left'
|
||||||
else:
|
else:
|
||||||
if obj.Base.Side == 'Left':
|
obj.Side = 'On'
|
||||||
obj.Side = 'Right'
|
|
||||||
elif obj.Base.Side == 'Right':
|
|
||||||
obj.Side = 'Left'
|
|
||||||
else:
|
|
||||||
obj.Side = 'On'
|
|
||||||
|
|
||||||
self.toolRadius = 5
|
self.toolRadius = 5
|
||||||
toolLoad = PathUtils.getLastToolLoad(obj)
|
toolLoad = PathUtils.getLastToolLoad(obj)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user