move to safe Z between ops

This commit is contained in:
Stewart Allen 2022-12-10 22:29:54 -05:00
commit ed1f1ca45a
2 changed files with 8 additions and 2 deletions

View file

@ -458,6 +458,11 @@ function prepEach(widget, settings, print, firstPoint, update) {
update((opSum + (progress * weight)) / opTot, message || op.type(), message);
});
opSum += weight;
if (tool) {
newLayer();
camOut(printPoint = printPoint.clone().setZ(zmax + zadd + ztOff));
newLayer();
}
}
function emitTrace(slice) {