extruder: Add get_trapq() method
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7013a7b15f
commit
cbd5680ae0
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue