optimize outside only outlining. disable synth plunge (for now)

This commit is contained in:
Stewart Allen 2020-12-10 14:55:46 -05:00
commit 7501fed121
2 changed files with 17 additions and 2 deletions

View file

@ -94,6 +94,7 @@
lastMode,
lastPoint,
nextIsMove = true,
synthPlunge = false,
spindle = 0,
spindleMax = device.spindleMax,
addOutput = print.addOutput,
@ -293,7 +294,7 @@
}
// synth new plunge rate
if (deltaZ <= -tolerance) {
if (synthPlunge && deltaZ <= -tolerance) {
let threshold = Math.min(deltaXY / 2, absDeltaZ),
modifier = threshold / absDeltaZ;
if (threshold && modifier && deltaXY > tolerance) {