aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bed_tilt.py
Commit message (Collapse)AuthorAgeFilesLines
* bed_tilt: Apply bed_tilt_calibrate settings to current sessionKevin O'Connor2018-04-031-6/+15
| | | | | | | | Apply the bed tilt settings immediately after finding them. This makes it easier for users to perform automatic tilt calibration at the start of every print. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Add z_offset parameterKevin O'Connor2018-03-171-4/+3
| | | | | | | | | 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>
* bed_tilt: Take into account the XY position used with z_virtual_endstopKevin O'Connor2018-03-171-7/+26
| | | | | | | | If a z_virtual_endstop is in use, then record the last XY position that is used when the Z is homed. Use that XY position to report what change is needed to the z position_endstop. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_tilt: Require at least 3 probing points for bed_tilt_calibrateKevin O'Connor2018-03-171-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mathutil: Move coordinate_descent() to new fileKevin O'Connor2018-03-041-2/+3
| | | | | | | 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/+5
| | | | | | | Output more information by default from the bed_tilt and delta_calibrate commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_tilt: Negate parameters reported by bed_tilt_calibrateKevin O'Connor2018-02-051-1/+1
| | | | | | | | The bed_tilt_calibrate command determines the tilt of the bed. However, we need to report the tilt compensation which is the negative of the bed tilt. 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>
* bed_tilt: Add support for automatic bed tilt move transformationKevin O'Connor2018-01-281-0/+95
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>