add pos_x, pos_y, pos_z gcode macro vars

This commit is contained in:
Stewart Allen 2022-12-10 19:52:51 -05:00
commit cabde0b369
2 changed files with 4 additions and 1 deletions

View file

@ -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);
}

View file

@ -729,7 +729,7 @@ self.kiri.lang['en-us'] = {
ad_abkl_s: "anti-backlash",
ad_abkl_l: ["for better flat surface finish","use micro-movements to cancel","backlash in solid layer output","in millimeters","0 to disable","if your firmware has M425","put that in the gcode header","and leave this as 0"],
ad_lbir_s: "belt first",
ad_lbir_l: ["always print shells touching the","belt before any other shells"],
ad_lbir_l: ["always print shells touching the belt before any other shells. this is no longer a recommended setting based on extensive testing."],
ad_altr_s: "alternating",
ad_altr_l: ["alternate shell winding order","clockwise / counter-clockwise","may reduce warping in thin areas","and help with belt edge adhesion"],
ad_lret_s: "layer retract",