mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
CURA-4870 Add information about the buildplate in the printer output
model so it can be used to show the buildplate name in the configuration list.
This commit is contained in:
parent
0beee79c3a
commit
97740123fa
5 changed files with 44 additions and 20 deletions
|
@ -380,6 +380,8 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
printer.updateName(data["friendly_name"])
|
||||
printer.updateKey(data["uuid"])
|
||||
printer.updateType(data["machine_variant"])
|
||||
if "build_plate" in data:
|
||||
printer.updateBuildplate(data["build_plate"]["name"])
|
||||
if not data["enabled"]:
|
||||
printer.updateState("disabled")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue