add purge tower area control. remove pause layers (will return with scripting). fix palette splice material info

This commit is contained in:
Stewart Allen 2021-11-15 00:14:21 -05:00
commit 29432b6dfd
7 changed files with 32 additions and 25 deletions

View file

@ -176,10 +176,10 @@
}
let loops = isBelt && rloops.length ? rloops : undefined;
(process.gcodePauseLayers || "").split(",").forEach(function(lv) {
let v = parseInt(lv);
if (v >= 0) pause.push(v);
});
// (process.gcodePauseLayers || "").split(",").forEach(function(lv) {
// let v = parseInt(lv);
// if (v >= 0) pause.push(v);
// });
append = function(line) {
if (line) {
@ -826,7 +826,7 @@
// force emit of buffer
append();
// console.log({segments, emitted, outputLength});
print.segments = isPalette ? segments : undefined;
print.distance = emitted;
print.lines = lines;