mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 04:36:01 +08:00
Update buildplate with other props
Contributes to CL-1250
This commit is contained in:
parent
10f84184f3
commit
72ce40deba
@ -55,7 +55,6 @@ class CloudClusterPrinterStatus(BaseCloudModel):
|
||||
# \param controller - The controller of the model.
|
||||
def createOutputModel(self, controller: PrinterOutputController) -> PrinterOutputModel:
|
||||
model = PrinterOutputModel(controller, len(self.configuration), firmware_version = self.firmware_version)
|
||||
model.updateBuildplate(self.build_plate.type)
|
||||
self.updateOutputModel(model)
|
||||
return model
|
||||
|
||||
@ -66,6 +65,7 @@ class CloudClusterPrinterStatus(BaseCloudModel):
|
||||
model.updateName(self.friendly_name)
|
||||
model.updateType(self.machine_variant)
|
||||
model.updateState(self.status if self.enabled else "disabled")
|
||||
model.updateBuildplate(self.build_plate.type)
|
||||
|
||||
for configuration, extruder_output, extruder_config in \
|
||||
zip(self.configuration, model.extruders, model.printerConfiguration.extruderConfigurations):
|
||||
|
Loading…
x
Reference in New Issue
Block a user