- fixed some minor errors in the new TclCommands: MillDrills and MillSlots

This commit is contained in:
Marius Stanciu
2019-09-11 17:59:24 +03:00
parent dce347d9be
commit 90a8b44cdf
3 changed files with 3 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ class TclCommandMillDrills(TclCommandSignaled):
try:
if 'milled_dias' in args and args['milled_dias'] != 'all':
diameters = [x.strip() for x in args['tools'].split(",")]
diameters = [x.strip() for x in args['milled_dias'].split(",")]
req_tools = []
for tool in obj.tools:
for req_dia in diameters:

View File

@@ -68,7 +68,7 @@ class TclCommandMillSlots(TclCommandSignaled):
try:
if 'milled_dias' in args and args['milled_dias'] != 'all':
diameters = [x.strip() for x in args['tools'].split(",")]
diameters = [x.strip() for x in args['milled_dias'].split(",")]
req_tools = []
for tool in obj.tools:
for req_dia in diameters: