disable midZ contour terrain checks
This commit is contained in:
parent
a814ae189f
commit
8d772d1535
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
||||||
// for longer moves, check the terrain to see if we need to go up and over
|
// for longer moves, check the terrain to see if we need to go up and over
|
||||||
const bigXY = (deltaXY > moveLen && !lasering);
|
const bigXY = (deltaXY > moveLen && !lasering);
|
||||||
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);
|
const bigZ = (deltaZ > toolDiam/2 && deltaXY > tolerance);
|
||||||
const midZ = (tolerance && absDeltaZ >= tolerance);
|
const midZ = (tolerance && absDeltaZ >= tolerance) && currentOp.type !== 'contour';
|
||||||
|
|
||||||
if (bigXY || bigZ || midZ) {
|
if (bigXY || bigZ || midZ) {
|
||||||
let maxz = getZClearPath(
|
let maxz = getZClearPath(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue