aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
authorMaster92 <Nils.Friedchen@googlemail.com>2019-09-18 15:37:33 +0200
committerKevinOConnor <kevin@koconnor.net>2019-09-18 09:37:33 -0400
commit3a37d4a2085b6f4cbe4b3713bda2056c36d64d43 (patch)
tree86e7b0d77db1157a7654484cb9c881916adbdf15 /config/example-extras.cfg
parent80775faa09909d9a754b2b1bfa9cba3c0491769b (diff)
downloadkutter-3a37d4a2085b6f4cbe4b3713bda2056c36d64d43.tar.gz
kutter-3a37d4a2085b6f4cbe4b3713bda2056c36d64d43.tar.xz
kutter-3a37d4a2085b6f4cbe4b3713bda2056c36d64d43.zip
safe_z_home: Hop only if necessary and add option to move xy back
Once a hop is performed, it will only be re-issued if the z-axis has been moved in the meantime. Usually it is only moved by a z-homing so doing so will cause safe_z_home to do the hop on the next homing action. When z-axis is homed, x and y positions are known. When setting this boolean option, these are set back to their last positions. Whenever a hop is specified it is re-issued after the Z axis has been homed. This is especially necessary when a pressure-based probe is used. Also, the module decides if a hop is necessary, based on either a known Z position or a flag that is set whenever the motors are disabled. Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 17af0acc..d18d777c 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -313,10 +313,17 @@
#z_hop: 0.0
# Lift the Z axis prior to homing. This is applied to any homing command,
# even if it doesn't home the Z axis. If the Z axis is already homed and
-# the zhop would exceed the printer limits, the zhop is ignored.
+# the zhop would exceed the printer limits, the zhop is ignored. If a lift
+# has already been performed or the Z axis is known to be equally or higher
+# than this distance, the zhop is ignored. After homing Z completed, the
+# printhead is lifted to zhop, respecting the probe's z_offset.
# The default is 0.0mm.
#z_hop_speed: 20.0
# Speed at which the Z axis is lifted prior to homing. The default is 20mm/s.
+#move_to_previous: True
+# When set to True, xy are reset to their previous positions after z homing.
+# The default is True.
+
# Homing override. One may use this mechanism to run a series of
# g-code commands in place of a G28 found in the normal g-code input.