add pos_x, pos_y, pos_z gcode macro vars
This commit is contained in:
parent
bbb98eda41
commit
cabde0b369
2 changed files with 4 additions and 1 deletions
|
|
@ -512,6 +512,9 @@ FDM.export = function(print, online, ondone, ondebug) {
|
|||
return;
|
||||
}
|
||||
last = line;
|
||||
subst.pos_x = epos.x.round(decimals);
|
||||
subst.pos_y = epos.y.round(decimals);
|
||||
subst.pos_z = epos.z.round(decimals);
|
||||
append(line);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue