aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/delta_calibrate.py
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* delta_calibrate: Don't error on an invalid kinematic guessKevin O'Connor2020-09-171-15/+19
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extras: Use "from . import module" for relative importsKevin O'Connor2020-06-151-1/+2
| | | | | | Use alternate import syntax to improve Python3 compatibility. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Improve Python3 compatibilityKevin O'Connor2020-06-151-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-15/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Add support for manually entering a nozzle Z heightKevin O'Connor2020-01-061-3/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Move low-level delta calibration to delta.pyKevin O'Connor2020-01-061-70/+10
| | | | | | | Move the linear delta specific calibration code from delta_calibrate.py to delta.py. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Move stable position conversion to its own classKevin O'Connor2020-01-061-86/+83
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: ProbePointsHelper adjustable minimum pointsfess2019-05-211-0/+1
| | | | | | | | Factor out minimum required points check for ProbePointsHelper in prep for setting different values for quad_gantry_level and z_tilt_adjust Signed-off-by: John "Fess" Fessenden <fess@fess.org>
* delta_calibrate: Do not automatically run G28 on DELTA_CALIBRATEKevin O'Connor2018-10-221-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Perform coordinate descent in a background processKevin O'Connor2018-10-151-7/+2
| | | | | | | Run the coordinate descent in a background process so that the main thread does not block. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Support manual probing at runtimeKevin O'Connor2018-10-011-1/+1
| | | | | | | | Don't require the config file to specify manual probing. Instead, allow the user to select manual probing on each ProbePointsHelper invocation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Perform multi-sample averaging in ProbePointsHelper classKevin O'Connor2018-10-011-1/+1
| | | | | | | | Now that all the callers of ProbePointsHelper take a cartesian coordinate for the probe locations, it's possible to perform averaging of multi-sample probes within the class. This simplifies the callers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Implement ProbePointsHelper get_probed_position() locallyKevin O'Connor2018-10-011-5/+2
| | | | | | | | Now that all users of ProbePointsHelper use the same get_probed_position() code, it is possible to implement that locally within the ProbePointsHelper class. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Use kin.calc_position() in get_probed_position() callbackKevin O'Connor2018-10-011-9/+2
| | | | | | | It's possible (and a little simpler) to use cartesian coordinates when calculating a stable position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Initial support for enhanced delta calibrationKevin O'Connor2018-09-251-17/+170
| | | | | | | Add support for an enhanced delta calibration routine that performs XY dimension calibration. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Support save/restore of delta_calibrate stateKevin O'Connor2018-09-251-10/+59
| | | | | | | | Support using SAVE_CONFIG to store the results of DELTA_CALIBRATE to the printer config file. Store the low level probe measurements in the config as well. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Move "stable position" logic to delta_calibrate.pyKevin O'Connor2018-09-251-11/+73
| | | | | | | Move the "stable position" logic from the delta.py kinematics code to the delta_calibrate.py calibration code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: move probe x and y offsets to the [probe] moduleArksine2018-08-191-1/+2
| | | | | | All probe offsets are now passed to the finalize() callback in the ProbePointsHelper Class. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* delta_calibrate: Fix typo in config output (radius should be delta_radius)Kevin O'Connor2018-07-221-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Minor change to get_position_from_stable()Kevin O'Connor2018-07-141-8/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Move kinematic modules to new kinematics/ directoryKevin O'Connor2018-07-121-4/+5
| | | | | | | | Move extruder.py, cartesian.py, corexy.py, and delta.py to a new kinematics/ sub-directory. This is intended to make adding new kinematics a little easier. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Rename run_script() to run_script_from_command()Kevin O'Connor2018-06-301-1/+1
| | | | | | | Emphasize that the run_script() method is only valid when run from a g-code command. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Rename get_position() callback to get_probed_position()Kevin O'Connor2018-06-221-1/+1
| | | | | | | The different uses of get_position() can be confusing, so choose a different name for the ProbePointsHelper callback. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Move code from bed_tilt and delta_calibrate into ProbePointsHelperKevin O'Connor2018-05-201-16/+12
| | | | | | | | Move the common config reading and probe object lookup from the bed_tilt.py and delta_calibrate.py code into the ProbePointsHelper class. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Add z_offset parameterKevin O'Connor2018-03-171-3/+2
| | | | | | | | | Move the probe_z_offset parameter from delta_calibrate and bed_tilt_calibrate to a z_offset parameter within the probe config section. It's easier to understand the z offset setting when it is in the probe config section. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mathutil: Move coordinate_descent() to new fileKevin O'Connor2018-03-041-2/+2
| | | | | | | Add a new python file (mathutil.py) and move the coordinate_descent() code to it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Increase calibration log level from debug to infoKevin O'Connor2018-02-161-6/+6
| | | | | | | Output more information by default from the bed_tilt and delta_calibrate commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Introduce load_config_prefix() for modules that take parametersKevin O'Connor2018-02-031-2/+0
| | | | | | | | Use both load_config() and load_config_prefix() functions when dynamically loading a module from the extras directory - if the config section name has parameters in it then use load_config_prefix(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Add initial support for a DELTA_CALIBRATE commandKevin O'Connor2018-01-281-0/+76
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>