Add tool height offsets to Linuxcnc_post

This commit is contained in:
Daniel Wood
2019-08-28 21:00:13 +01:00
parent 7ee903f27c
commit c5b34d654e

View File

@@ -354,6 +354,10 @@ def parse(pathobj):
for line in TOOL_CHANGE.splitlines(True):
out += linenumber() + line
# add height offset
tool_height = '\nG43 H' + str(int(c.Parameters['T']))
outstring.append(tool_height)
if command == "message":
if OUTPUT_COMMENTS is False:
out = []