mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:05:53 +08:00
Allow postprocessing before sending data to the printer
From OutputDevice.py: "output device subclasses are completely free to implement writing however they want, though you should emit writeStarted and related signals whenever certain events happen related to the write process."
This commit is contained in:
parent
7082ff7d68
commit
91e8ac6868
@ -532,6 +532,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
||||
|
||||
Application.getInstance().showPrintMonitor.emit(True)
|
||||
self._print_finished = True
|
||||
self.writeStarted.emit(self)
|
||||
self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list")
|
||||
|
||||
print_information = Application.getInstance().getPrintInformation()
|
||||
|
Loading…
x
Reference in New Issue
Block a user