resolve gcode as array/text

This commit is contained in:
Stewart Allen 2022-10-18 21:57:27 -04:00
commit 91514aeb86
6 changed files with 44 additions and 19 deletions

View file

@ -203,6 +203,11 @@ async function path(levels, update, opts = {}) {
lastOut = out;
});
if (!lastOut) {
// laser levels alone
return;
}
lastEnd = lastOut;
// all moves with an emit at the very end (common in contouring)