remove minion-based cam slicing

This commit is contained in:
Stewart Allen 2023-01-08 14:26:23 -05:00
commit 883bf90091
5 changed files with 5 additions and 85 deletions

View file

@ -446,7 +446,7 @@ class Topo {
if (contourX) stepsTotal += Math.round((maxY-minY) / toolStep);
if (contourY) stepsTotal += Math.round((maxX-minX) / toolStep);
let slices = topo.slices = topo.slices || await slicer.sliceAsync(sindex, { each: (data, index, total) => {
let slices = topo.slices = topo.slices || slicer.slice(sindex, { each: (data, index, total) => {
onupdate(++stepsTaken, stepsTotal, "topo slice");
}, genso: true });