add nozzle/tool parameter for gcode header/footer

This commit is contained in:
Stewart Allen 2019-02-11 13:31:17 -05:00
commit 2e1ba91660
4 changed files with 7 additions and 2 deletions

View file

@ -417,6 +417,8 @@ var gs_kiri_fdm = exports;
right: offset ? device.bedWidth : device.bedWidth/2,
bottom: offset ? 0 : -device.bedDepth/2,
kfactor: process.gcodeKFactor || 0,
nozzle: process.gcodeNozzle || 0,
tool: process.gcodeNozzle || 0,
z_max: device.maxHeight,
layers: layers.length
},