From cbd5680ae0c0819b84e27dfca024de967f7aa1f5 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 19 Jul 2021 21:08:10 -0400 Subject: [PATCH] extruder: Add get_trapq() method Signed-off-by: Kevin O'Connor --- klippy/kinematics/extruder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index cbcb84ec..6775c5de 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -98,6 +98,8 @@ class PrinterExtruder: return self.name def get_heater(self): return self.heater + def get_trapq(self): + return self.trapq def sync_stepper(self, stepper): toolhead = self.printer.lookup_object('toolhead') toolhead.flush_step_generation() @@ -230,6 +232,8 @@ class DummyExtruder: return "" def get_heater(self): raise self.printer.command_error("Extruder not configured") + def get_trapq(self): + raise self.printer.command_error("Extruder not configured") def add_printer_objects(config): printer = config.get_printer()