Bugfix for "Before Tool Change" Commands
This commit is contained in:
@@ -599,6 +599,8 @@ def parse(pathobj):
|
||||
outlist[-1] =('T' + str(int(c.Parameters['T'])))
|
||||
|
||||
if not OUTPUT_TOOL_CHANGE and OUTPUT_COMMENTS:
|
||||
for line in TOOL_CHANGE.splitlines(True):
|
||||
out += linenumber() + line + '\n'
|
||||
# next 2 lines could also be replaced by a single line as "outlist = []"
|
||||
outlist[0] = ' '
|
||||
outlist[-1] = ' '
|
||||
|
||||
Reference in New Issue
Block a user