fixes #250 plunge rate incorrect for some Z cutting moves
This commit is contained in:
parent
7f7b125af4
commit
91684ff12a
1 changed files with 4 additions and 0 deletions
|
|
@ -253,6 +253,10 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
* @param {number} [tool] tool
|
||||
*/
|
||||
function layerPush(point, emit, speed, tool) {
|
||||
const dz = lastPush ? point.z - lastPush.point.z : 0;
|
||||
if (dz < 0 && speed > plungeRate) {
|
||||
speed = plungeRate;
|
||||
}
|
||||
layerOut.mode = currentOp;
|
||||
if (lasering) {
|
||||
let power = emit ? laserPower : 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue