better belt layout. account for anchor in layout

This commit is contained in:
Stewart Allen 2021-10-07 09:27:13 -04:00
commit 73a1948cb1
2 changed files with 7 additions and 2 deletions

View file

@ -164,7 +164,7 @@
}
}
loops = isBelt && rloops.length ? rloops : undefined;
console.log({loops});
(process.gcodePauseLayers || "").split(",").forEach(function(lv) {
let v = parseInt(lv);
if (v >= 0) pause.push(v);