mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Add function to cancel pre-heating the bed
You could also do this by calling preheatBed with a temperature of 0. In fact, that's what this function does. Contributes to issue CURA-3161.
This commit is contained in:
parent
9d8034d14f
commit
d7bf23ca21
1 changed files with 6 additions and 0 deletions
|
@ -253,6 +253,12 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||
put_request.setHeader(QNetworkRequest.ContentTypeHeader, "application/json")
|
||||
self._manager.put(put_request, data.encode())
|
||||
|
||||
## Cancels pre-heating the heated bed of the printer.
|
||||
#
|
||||
# If the bed is not pre-heated, nothing happens.
|
||||
def cancelPreheatBed(self):
|
||||
self.preheatBed(temperature=0)
|
||||
|
||||
def _stopCamera(self):
|
||||
self._camera_timer.stop()
|
||||
if self._image_reply:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue