aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/safe_z_home.py
Commit message (Collapse)AuthorAgeFilesLines
* safe_z_home: Hop only if necessary and add option to move xy backMaster922019-09-181-15/+35
| | | | | | | | | | | | | | | 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>
* extra: Add Safe Z home extraFlorian Heilmann2019-08-091-0/+82
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>