mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Update buildplate with other props
Contributes to CL-1250
This commit is contained in:
parent
10f84184f3
commit
72ce40deba
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,6 @@ class CloudClusterPrinterStatus(BaseCloudModel):
|
||||||
# \param controller - The controller of the model.
|
# \param controller - The controller of the model.
|
||||||
def createOutputModel(self, controller: PrinterOutputController) -> PrinterOutputModel:
|
def createOutputModel(self, controller: PrinterOutputController) -> PrinterOutputModel:
|
||||||
model = PrinterOutputModel(controller, len(self.configuration), firmware_version = self.firmware_version)
|
model = PrinterOutputModel(controller, len(self.configuration), firmware_version = self.firmware_version)
|
||||||
model.updateBuildplate(self.build_plate.type)
|
|
||||||
self.updateOutputModel(model)
|
self.updateOutputModel(model)
|
||||||
return model
|
return model
|
||||||
|
|
||||||
|
@ -66,6 +65,7 @@ class CloudClusterPrinterStatus(BaseCloudModel):
|
||||||
model.updateName(self.friendly_name)
|
model.updateName(self.friendly_name)
|
||||||
model.updateType(self.machine_variant)
|
model.updateType(self.machine_variant)
|
||||||
model.updateState(self.status if self.enabled else "disabled")
|
model.updateState(self.status if self.enabled else "disabled")
|
||||||
|
model.updateBuildplate(self.build_plate.type)
|
||||||
|
|
||||||
for configuration, extruder_output, extruder_config in \
|
for configuration, extruder_output, extruder_config in \
|
||||||
zip(self.configuration, model.extruders, model.printerConfiguration.extruderConfigurations):
|
zip(self.configuration, model.extruders, model.printerConfiguration.extruderConfigurations):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue