fix extrusion-on-belt detection. fix support stringing caused by belt brim code

This commit is contained in:
Stewart Allen 2024-07-11 11:45:52 -04:00
commit cfa9eacbb2
2 changed files with 13 additions and 4 deletions

View file

@ -506,7 +506,7 @@ FDM.slice = function(settings, widget, onupdate, ondone) {
if (by < smin) smin = by;
}
// mark slices with tops touching belt
slice.belt = { miny, touch: miny.round(3) == 0 };
slice.belt = { miny, touch: miny.round(3) < sliceHeightBase };
}
// find max width of first 5 layers for brim additions
let start;