aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/manual_probe.py
Commit message (Collapse)AuthorAgeFilesLines
* manual_probe: Add Z_OFFSET_APPLY_ENDSTOP for deltajanherich2022-12-191-0/+45
| | | | | | | | | | Current Z_OFFSET_APPLY_ENDSTOP command only works for printers with cartesian architecture which have separate Z axis defined. But this functionality (persisting Z babystep value to endstops) is exactly as convinient for delta printers, therefore this PR implements it. Signed-off-by: Jan Herich <jan.herich@gmail.com>
* manual_probe: report statusPedro Lamas2022-07-211-2/+23
| | | | Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
* probe: add ability to save babystepping (#4404)shiftingtech2021-07-251-0/+19
| | | | | | | | Created two new extended gcodes: Z_OFFSET_APPLY_ENDSTOP, and Z_OFFSET_APPLY_PROBE. These use the z gcode offset to revise the probe offset, or z endstop position allowing users to make a frequently used babystepping value permanent without manual config editing. Signed-off-by: Ben Eastep <shifting@shifting.ca>
* stepper: Remove set_tag_position() codeKevin O'Connor2021-05-291-3/+3
| | | | | | Have callers store the stepper positions in a dict. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Use configfile note_valid=False when inspecting Z position_endstopKevin O'Connor2020-12-131-8/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Prefer printer.command_error() instead of homing.CommandError()Kevin O'Connor2020-09-041-2/+1
| | | | | | | Update callers to use the printer.command_error reference instead of directly using homing.CommandError() when raising or catching errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Add a manual_move() helper functionKevin O'Connor2020-08-201-5/+4
| | | | | | | | Add a helper function for submitting relative movements. This function will also automatically ensure gcode.reset_last_position() is called. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-14/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Rename _full_flush() to flush_step_generation() and use globallyKevin O'Connor2019-11-211-1/+1
| | | | | | | Update code that modifies the low-level kinematics handlers to first call toolhead.flush_step_generation(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Add get/set_tag_position() and convert calc_position()Kevin O'Connor2019-11-131-1/+4
| | | | | | | | | Rename calc_position() to calc_tag_position() and have it calculate the value of the position from the last stepper set_tag_position() call. This enables the calc_tag_position() code to be more flexible as it can be run with arbitrary positions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Add extra checks to catch manual probe not finishing correctlyKevin O'Connor2019-06-061-8/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: No need to re-raise an EndstopErrorKevin O'Connor2019-06-061-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Verify no XY moves since start of manual probeKevin O'Connor2019-05-311-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Make sure the nozzle has moved during a manual probeKevin O'Connor2019-05-241-0/+7
| | | | | | | Make sure the TESTZ procedure is followed prior to accepting a manual probe. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Raise a config error on invalid register_command()Kevin O'Connor2019-02-181-1/+1
| | | | | | | Raise a printer.config_error() on an invalid register_command() call. This error is easier to handle for the vast majority of callers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Add a helper script for performing manual Z probingKevin O'Connor2019-02-121-0/+163
Add MANUAL_PROBE and Z_ENDSTOP_CALIBRATE commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>