Skip to content

Commit

Permalink
Disable extrude and retract while printing
Browse files Browse the repository at this point in the history
  • Loading branch information
kliment committed Mar 24, 2018
1 parent 2ea0835 commit 284f793
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions printrun/pronterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,10 +404,14 @@ def do_monitor(self, l = ""):
self.log(_("Done monitoring."))

def do_pront_extrude(self, l = ""):
if self.p.printing and not self.paused:
return
feed = self.settings.e_feedrate
self.do_extrude_final(self.edist.GetValue(), feed)

def do_pront_reverse(self, l = ""):
if self.p.printing and not self.paused:
return
feed = self.settings.e_feedrate
self.do_extrude_final(- self.edist.GetValue(), feed)

Expand Down

0 comments on commit 284f793

Please sign in to comment.