From f5c6050cbdf95a663e55f02bdb68f8beacfa2852 Mon Sep 17 00:00:00 2001 From: HelgeKeck Date: Sat, 2 Nov 2024 13:42:54 +0100 Subject: [PATCH] MACRO: fix wrong variable in _VAOC_ENSURE_SAFE_Z_HEIGHT --- macros/idex/vaoc.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/idex/vaoc.cfg b/macros/idex/vaoc.cfg index e421f724..47e5194e 100644 --- a/macros/idex/vaoc.cfg +++ b/macros/idex/vaoc.cfg @@ -823,7 +823,7 @@ gcode: {% set idex_zoffsetcontrolpoint = svv.idex_zoffsetcontrolpoint|default(0)|float %} # echo - DEBUG_ECHO PREFIX="_VAOC_ENSURE_SAFE_Z_HEIGHT" MSG={'"idex_zcontrolpoint: %.6f, idex_zoffsetcontrolpoint: %.6f"' % (idex_xcontrolpoint, idex_zoffsetcontrolpoint)} + DEBUG_ECHO PREFIX="_VAOC_ENSURE_SAFE_Z_HEIGHT" MSG={'"idex_zcontrolpoint: %.6f, idex_zoffsetcontrolpoint: %.6f"' % (idex_zcontrolpoint, idex_zoffsetcontrolpoint)} {% if safe_z < idex_zcontrolpoint + 2 or safe_z < idex_zoffsetcontrolpoint + 2 %} {action_raise_error("VAOC safe_z value (%.3f) is too low, it must be higher than %.3f" % (safe_z, [idex_zoffsetcontrolpoint + 2, idex_zcontrolpoint + 2]|max))}