aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tuning_tower.py
Commit message (Collapse)AuthorAgeFilesLines
* gcode: Automatically call reset_last_position() on a toolhead set_position()Kevin O'Connor2020-08-201-1/+0
| | | | | | | | Generate a "toolhead:set_position" event on a call to toolhead.set_position() and use that event to automatically call gcode.reset_last_position(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Make it clear that gcode.get_status() can be called without eventtimeKevin O'Connor2020-05-261-1/+1
| | | | | | | Make it clear that gcode.get_status() to be called without an eventtime by defaulting eventtime=None. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Minor optimizationKevin O'Connor2020-05-261-18/+13
| | | | | | | Store a reference to the gcode class in self.code. Obtain the z_offset once and use for both the oldval and newval calculation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Remove max(0, z) checkKevin O'Connor2020-05-261-1/+1
| | | | | | | | | | Commit 9530373c introduced a minimum value of zero for the g-code z position. Unfortunately, that would likely cause the tuning tower to not emit a command at the start of a test because the initial dummy z position is set to a negative value. The minimum bound should not be needed so remove it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: compensate z-offset (#2881)Rubens Panfili2020-05-241-0/+4
| | | Signed-off-by: Rubens Panfili <rubens.panfili@gmail.com>
* tuning_tower: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-8/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Support tuning of traditional g-code commandsKevin O'Connor2020-01-071-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Fix typo causing tuning tower to break when homingKevin O'Connor2019-12-041-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Report start of tuning test on g-code consoleKevin O'Connor2019-11-211-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Only cancel tuning tower test if extrude at notably lower zKevin O'Connor2019-10-041-3/+6
| | | | | | | | Some print start scripts may extrude at a position slightly higher than the first z layer height. Tweak the backwards z test to reduce the chance of the tuning test ending prematurely. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Tool for tuning parameters based on print Z heightKevin O'Connor2019-10-011-0/+72
This adds a testing tool that can run a command on each Z layer of a print. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>