From 27f8cf025ef348eb3fd16cc32a0d738e2effa9af Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 2 Jun 2021 09:11:19 -0600 Subject: z_tilt: expose an 'applied' status to allow macros to skip QGL/Z_TILT_ADJUST (#4313) This is useful for macros that'd like to skip QGL if already leveled, e.g.: ``` {% if not printer.quad_gantry_level.applied %} QUAD_GANTRY_LEVEL {% endif %} ``` Signed-off-by: Michael Rose --- docs/Status_Reference.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/Status_Reference.md b/docs/Status_Reference.md index 01fc4271..ab14b7f7 100644 --- a/docs/Status_Reference.md +++ b/docs/Status_Reference.md @@ -218,6 +218,13 @@ is defined): template expansion, the PROBE (or similar) command must be run prior to the macro containing this reference. +# quad_gantry_level + +The following information is available in the `quad_gantry_level` object +(this object is available if quad_gantry_level is defined): +- `applied`: True if the gantry leveling process has been run and completed + successfully. + # query_endstops The following information is available in the `query_endstops` object @@ -316,3 +323,10 @@ object is always available): state. Possible values are: "ready", "startup", "shutdown", "error". - `state_message`: A human readable string giving additional context on the current Klipper state. + +# z_tilt + +The following information is available in the `z_tilt` object (this +object is available if z_tilt is defined): +- `applied`: True if the z-tilt leveling process has been run and completed + successfully. -- cgit v1.2.3-70-g09d2