aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/tuning_tower.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-27/+36
|
* tuning_tower: add is_active() methodTroy Jacobson2022-06-031-0/+2
| | | | | Signed-off-by: Troy Jacobson <troy.d.jacobson@gmail.com> Co-authored-by: Franklyn Tackitt <git@frank.af>
* tuning_tower: Add STEP_DELTA and STEP_HEIGHT parameters as alternate tuning ↵github@matthewlloyd.net2021-09-021-3/+24
| | | | | | tower syntax Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
* tuning_tower: Add SKIP parametergithub@matthewlloyd.net2021-09-021-0/+3
| | | | Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
* gcode_move: Move GCodeMove class from gcode.py to new extras moduleKevin O'Connor2020-08-201-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Split G0/G1 command handling to new gcode_move classKevin O'Connor2020-08-201-3/+5
| | | | | | | | Split up the main GCodeParser class into GCodeDispatch and GCodeMove classes. The GCodeMove class is now available using the "gcode_move" printer object name. This split simplifies the gcode.py code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Remove unneeded base_xpos variables from get_status()Kevin O'Connor2020-08-201-4/+6
| | | | | | Convert the only user of base_zpos to use gcode_position. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* 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>