improve infill density calculations

This commit is contained in:
Stewart Allen 2021-09-09 11:32:06 -04:00
commit a2502f6b70
2 changed files with 5 additions and 5 deletions

View file

@ -329,7 +329,7 @@
let spaceMult = slice.index === 0 ? process.firstLayerLineMult || 1 : 1;
let isBottom = slice.index < process.sliceBottomLayers;
let isTop = slice.index > slices.length - process.sliceTopLayers - 1;
let isDense = range.sliceFillSparse > 0.98;
let isDense = range.sliceFillSparse > 0.995;
let isSolid = (isBottom || ((isTop || isDense) && !vaseMode)) && !isSynth;
let solidWidth = isSolid ? range.sliceFillWidth || 1 : 0;
if (solidWidth) {