change all level moves to cuts. fix z raise to max between ops

This commit is contained in:
Stewart Allen 2024-12-31 10:45:50 -06:00
commit e29fd194bb
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ class OpLevel extends CamOp {
poly.reverse();
}
poly.forEachPoint((point, pidx) => {
camOut(point.clone(), pidx > 0, stepOver);
camOut(point.clone(), true, stepOver);
}, false);
});
setPrintPoint(printPoint);

View file

@ -562,7 +562,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
opSum += weight;
if (tool && lastPoint) {
newLayer();
layerPush(printPoint = lastPoint.clone().setZ(zmax + zadd), 0, 0, tool);
layerPush(printPoint = lastPoint.clone().setZ(zmax_outer), 0, 0, tool);
newLayer();
}
}