chiark / gitweb /
Add a park toolhead on Pause feature
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Nov 2015 19:50:19 +0000 (14:50 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 6 Nov 2015 19:50:19 +0000 (14:50 -0500)
commitb507958d561c307063f54b0dfeee2e59938dede6
tree0137891500e789db3efc2201f627c68d4cadb086
parentf91980193a66112834322909028c962161db9b05
Add a park toolhead on Pause feature

This will add a park toolhead feature when Pause is clicked.
The park position is at 10 mm from the x/y limits and 10mm above the
current Z unless we're 10mm away from the max height of the printer.
On resume, the E position is reset, last feedrate value is restored
and the toolhead is primed for new filament before being moved back
into position.

The print window will now also display a "Please wait" for 10 seconds
while disabling the pause/resume button to avoid excessive commands
being sent while the printer is still busy with a move.
This also helps the user realize that pausing is not an instantenous feature.
The serial connection has been fixed to send queued commands when in paused state.
Feature was taken in part from the pauseAtZ plugin.
Only E movements are now allowd in paused state.

Hopefully fixes T220 and makes everyone happy
Cura/gui/printWindow.py
Cura/util/machineCom.py
Cura/util/printerConnection/serialConnection.py