forked from CreatBot/CreatBotKlipperScreen
klippygcodes: simplify and remove some alias that are irrelevant
This commit is contained in:
@@ -227,7 +227,7 @@ class Panel(ScreenPanel):
|
||||
|
||||
def extrude(self, widget, direction):
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL)
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.extrude(f"{direction}{self.distance}", f"{self.speed * 60}"))
|
||||
self._screen._ws.klippy.gcode_script(f"G1 E{direction}{self.distance} F{self.speed * 60}")
|
||||
|
||||
def load_unload(self, widget, direction):
|
||||
if direction == "-":
|
||||
|
Reference in New Issue
Block a user