From 4f2685aba7373deb79b4dcf940ea5e0ee135de67 Mon Sep 17 00:00:00 2001 From: flyfisher604 Date: Mon, 15 Feb 2021 11:12:03 -0800 Subject: [PATCH] Fixes #8 --- MPCNC.cps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MPCNC.cps b/MPCNC.cps index 6c364c9..89b9de3 100644 --- a/MPCNC.cps +++ b/MPCNC.cps @@ -643,7 +643,7 @@ function isSafeToRapid(x, y, z) { let zConstant = (z == cur.z); let zUp = (z > cur.z); let xyConstant = ((x == cur.x) && (y == cur.y)); - let curZSafe = (cur.z >= properties.mapF_SafeZ); + let curZSafe = (cur.z >= safeZHeight); // Restore Rapids only when the target Z is safe and // Case 1: Z is not changing, but XY are