mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 14:34:06 -06:00
extruder: Remove support for lookahead() method
Now that the extruder lookahead method is no longer used it can be removed from the toolhead and extruder classes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
5f5896ad71
commit
89d1ab7c04
2 changed files with 4 additions and 20 deletions
|
@ -135,8 +135,6 @@ class PrinterExtruder:
|
|||
if diff_r:
|
||||
return (self.instant_corner_v / abs(diff_r))**2
|
||||
return move.max_cruise_v2
|
||||
def lookahead(self, moves, flush_count, lazy):
|
||||
return flush_count
|
||||
def move(self, print_time, move):
|
||||
axis_r = move.axes_r[3]
|
||||
accel = move.accel * axis_r
|
||||
|
@ -183,8 +181,6 @@ class DummyExtruder:
|
|||
move.end_pos, "Extrude when no extruder present")
|
||||
def calc_junction(self, prev_move, move):
|
||||
return move.max_cruise_v2
|
||||
def lookahead(self, moves, flush_count, lazy):
|
||||
return flush_count
|
||||
def get_heater(self):
|
||||
raise homing.CommandError("Extruder not configured")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue