add annotations necessary to allow object cancellation during print

This commit is contained in:
Stewart Allen 2025-02-13 17:44:55 -05:00
commit 4d6b72d81d
7 changed files with 103 additions and 23 deletions

View file

@ -549,6 +549,7 @@ FDM.prepare = async function(widgets, settings, update) {
let beltStart = slice.belt && slice.belt.touch;// && (widgets.length === 1);
// output seek to start point between mesh slices if previous data
print.setType('layer');
print.setWidget(lastWidget);
printPoint = slicePrintPath(
print,
slice,
@ -579,6 +580,7 @@ FDM.prepare = async function(widgets, settings, update) {
}
}
);
print.setWidget(null);
lastOut = slice;
lastExt = lastOut.extruder;