fix indexed contouring, negative zBottom, indexed contour moves

This commit is contained in:
Stewart Allen 2023-02-16 11:11:00 -05:00
commit e1ec475473
4 changed files with 12 additions and 8 deletions

View file

@ -346,7 +346,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
// new pos for plunge calc
deltaXY = 0;
}
} else if (isMove && currentOp.type === 'lathe') {
} else if (isMove && ['lathe','contour'].contains(currentOp.type)) {
if (point.z > lastPoint.z) {
layerPush(lastPoint.clone().setZ(point.z), 0, 0, tool.getNumber());
} else if (point.z < lastPoint.z) {