fix feedrate in laser mode

This commit is contained in:
Stewart Allen 2022-10-20 13:37:26 -04:00
commit 3e0bb010c2

View file

@ -373,7 +373,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
}
// set new plunge rate
if (deltaZ < -tolerance) {
if (!lasering && deltaZ < -tolerance) {
let threshold = Math.min(deltaXY / 2, absDeltaZ),
modifier = threshold / absDeltaZ;
if (synthPlunge && threshold && modifier && deltaXY > tolerance) {