add print time and material to N2 profile
This commit is contained in:
parent
292e4c9737
commit
2b53921744
2 changed files with 9 additions and 2 deletions
|
|
@ -500,11 +500,15 @@ var gs_kiri_fdm = exports;
|
|||
layer++;
|
||||
}
|
||||
|
||||
consts.material = UTIL.round(emitted,2);
|
||||
consts.time = UTIL.round(time,2);
|
||||
|
||||
append("; --- shutdown ---");
|
||||
for (var i=0; i<device.gcodePost.length; i++) {
|
||||
append(constReplace(device.gcodePost[i], consts));
|
||||
}
|
||||
append("; --- filament used: "+UTIL.round(emitted,decimals)+"mm ---");
|
||||
append("; --- filament used: " +consts.material + "mm ---");
|
||||
append("; --- print time: " + consts.time + "s ---");
|
||||
|
||||
// force emit of buffer
|
||||
append();
|
||||
|
|
|
|||
Loading…
Reference in a new issue