aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bed_mesh.py
Commit message (Collapse)AuthorAgeFilesLines
* bed_mesh: Introduce fade_target optionArksine2018-11-301-39/+76
| | | | | | To deal potential z scaling when fade is enabled, a fade_target option has been introduced. This option may either be set to 0.0 or any z position within the range of the mesh. A value of 0.0 will result in previous behavior, where z adjustment phases out until no further adjustment is added. A non-zero value will phase out adjustment until the target has been reached, after which the rest of the print will be offset along the z axis by the fade_target. By default the fade_target will be calculated as an average of the mesh. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Disable z-adjustment fade by default.Arksine2018-11-301-1/+1
| | | | | | Due to various potential issues with fading out z-adjustment, it is better to disable by default and allow users to opt-in. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Fix some fragile identity comparisonsLucas Fink2018-10-311-2/+2
| | | | Signed-off-by: Lucas Fink <software@lfcode.ca>
* bed_mesh: Do not automatically run G28 on BED_MESH_CALIBRATE / BED_MESH_MAPKevin O'Connor2018-10-221-1/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: save mesh state to 'default' profile after calibrationArksine2018-10-041-2/+12
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Add ability to save mesh state to persistent memoryArksine2018-10-021-1/+97
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Extend BED_MESH_MAP to provide more informationArksine2018-10-021-2/+8
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* probe: Infer position_endstop when using probe:z_virtual_offsetKevin O'Connor2018-10-011-17/+0
| | | | | | | | | Don't require (or permit) the user to specify a stepper_z position_endstop when using the probe:z_virtual_offset mechanism. In that case the position_endstop should always equal the probe's z_offset - so no need to have the user specify it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Support manual probing at runtimeKevin O'Connor2018-10-011-4/+4
| | | | | | | | 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-6/+2
| | | | | | | | 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/+3
| | | | | | | | 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>
* bed_mesh: Cache last position when get_position() is called.Arksine2018-09-101-2/+3
| | | | | | Fixes issue #626. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* probe: Add ability to multi-sample points to ProbePointsHelperArksine2018-08-291-4/+13
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: move probe x and y offsets to the [probe] moduleArksine2018-08-191-8/+7
| | | | | | All probe offsets are now passed to the finalize() callback in the ProbePointsHelper Class. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: update z_offset checkArksine2018-08-191-5/+9
| | | | | | Only check the probe's z_offset against the stepper_z endstop position if the probe is used as a virtual endstop. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: mesh bed leveling for KlipperArksine2018-08-171-0/+586
Initial implementation of configurable Mesh Bed Leveling. Signed-off-by: Eric Callahan <arksine.code@gmail.com>