mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Update cluster view components
CL-541
This commit is contained in:
parent
52a137a68c
commit
5d3779da26
9 changed files with 59 additions and 50 deletions
|
@ -159,7 +159,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
# No active printer. Unable to write
|
||||
return
|
||||
|
||||
if self.activePrinter.printerState not in ["idle", ""]:
|
||||
if self.activePrinter.state not in ["idle", ""]:
|
||||
# Printer is not able to accept commands.
|
||||
return
|
||||
|
||||
|
@ -578,7 +578,7 @@ class LegacyUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
printer = self._printers[0]
|
||||
printer.updateBedTemperature(result["bed"]["temperature"]["current"])
|
||||
printer.updateTargetBedTemperature(result["bed"]["temperature"]["target"])
|
||||
printer.updatePrinterState(result["status"])
|
||||
printer.updateState(result["status"])
|
||||
|
||||
head_position = result["heads"][0]["position"]
|
||||
printer.updateHeadPosition(head_position["x"], head_position["y"], head_position["z"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue