diff --git a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py index db80ee6c5b..11f7415400 100644 --- a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py +++ b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevice.py @@ -259,6 +259,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice): data = """{"temperature": "%i", "timeout": "%i"}""" % (temperature, duration) else: data = """{"temperature": "%i"}""" % temperature + Logger.log("i", "Pre-heating bed to %i degrees.", temperature) put_request = QNetworkRequest(url) put_request.setHeader(QNetworkRequest.ContentTypeHeader, "application/json") self._manager.put(put_request, data.encode()) @@ -269,6 +270,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice): # If the bed is not pre-heated, nothing happens. @pyqtSlot() def cancelPreheatBed(self): + Logger.log("i", "Cancelling pre-heating of the bed.") self.preheatBed(temperature = 0, duration = 0) self._preheat_bed_timer.stop() self._preheat_bed_timer.setInterval(0) diff --git a/plugins/USBPrinting/USBPrinterOutputDevice.py b/plugins/USBPrinting/USBPrinterOutputDevice.py index 56482755df..1af9e8b8fb 100644 --- a/plugins/USBPrinting/USBPrinterOutputDevice.py +++ b/plugins/USBPrinting/USBPrinterOutputDevice.py @@ -650,6 +650,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice): # ignored because there is no g-code to set this. @pyqtSlot(float, float) def preheatBed(self, temperature, duration): + Logger.log("i", "Pre-heating the bed to %i degrees.", temperature) self._setTargetBedTemperature(temperature) ## Cancels pre-heating the heated bed of the printer. @@ -657,4 +658,5 @@ class USBPrinterOutputDevice(PrinterOutputDevice): # If the bed is not pre-heated, nothing happens. @pyqtSlot() def cancelPreheatBed(self): + Logger.log("i", "Cancelling pre-heating of the bed.") self._setTargetBedTemperature(0) \ No newline at end of file