Add tool height offsets to Linuxcnc_post

This commit is contained in:
Daniel Wood
2019-08-28 21:00:13 +01:00
parent 6195b5e9ef
commit c3e7d7c73f

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 = []