From 1932a95ded44eca857d18004cf24f92b459fd492 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 6 Dec 2016 08:54:38 +0100 Subject: [PATCH 1/3] Expand description of cool zone setting It is apparently desirable to have more implementation detail in here. Contributes to issue CURA-2795. --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index c79b025f3f..5a0f2cd0c1 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -238,7 +238,7 @@ "machine_cool_zone_length": { "label": "Cool Zone Length", - "description": "The length of the piece that dissipates heat from the hot end to shield heat-sensitive equipment.", + "description": "The length of the piece that dissipates heat from the hot end to shield heat-sensitive equipment. When an extruder is not needed any more, its filament is moved out of the cool zone.", "default_value": 0, "type": "float", "settable_per_mesh": false, From 2f790c12b892cb0893cd32c17a7e92c413ad4f4f Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 6 Dec 2016 08:58:19 +0100 Subject: [PATCH 2/3] Expand description of heat zone with implementation details It is used to move filament in parking position when an extruder is not used any more. Contributes to issue CURA-2795. --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 5a0f2cd0c1..d23a27396c 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -228,7 +228,7 @@ "machine_heat_zone_length": { "label": "Heat zone length", - "description": "The distance from the tip of the nozzle in which heat from the nozzle is transferred to the filament.", + "description": "The distance from the tip of the nozzle in which heat from the nozzle is transferred to the filament. When an extruder is not needed any more, its filament is moved out of the heat zone.", "default_value": 16, "type": "float", "settable_per_mesh": false, From e846a9aebce84e5dd6e8b117041934977007850a Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Tue, 6 Dec 2016 10:46:47 +0100 Subject: [PATCH 3/3] Added logging for CURA-2918 --- .../UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py index 7a86002210..2725fa8d17 100644 --- a/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py +++ b/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py @@ -124,6 +124,7 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin): ## Stop looking for devices on network. def stop(self): if self._zero_conf is not None: + Logger.log("d", "zeroconf close...") self._zero_conf.close() def getPrinters(self): @@ -136,10 +137,12 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin): for key in self._printers: if key == active_machine.getMetaDataEntry("um_network_key"): + Logger.log("d", "Connecting [%s]..." % key) self._printers[key].connect() self._printers[key].connectionStateChanged.connect(self._onPrinterConnectionStateChanged) else: if self._printers[key].isConnected(): + Logger.log("d", "Closing connection [%s]..." % key) self._printers[key].close() ## Because the model needs to be created in the same thread as the QMLEngine, we use a signal. @@ -149,6 +152,7 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin): global_container_stack = Application.getInstance().getGlobalContainerStack() if global_container_stack and printer.getKey() == global_container_stack.getMetaDataEntry("um_network_key"): if printer.getKey() not in self._old_printers: # Was the printer already connected, but a re-scan forced? + Logger.log("d", "addPrinter, connecting [%s]..." % printer.getKey()) self._printers[printer.getKey()].connect() printer.connectionStateChanged.connect(self._onPrinterConnectionStateChanged) self.printerListChanged.emit() @@ -158,6 +162,7 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin): if printer: if printer.isConnected(): printer.connectionStateChanged.disconnect(self._onPrinterConnectionStateChanged) + Logger.log("d", "removePrinter, disconnecting [%s]..." % name) printer.disconnect() self.printerListChanged.emit()