mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Add fixme note to hardcoded extruder count
This commit is contained in:
parent
549b724a4f
commit
5f480f753c
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ class ClusterPrinterStatus(BaseModel):
|
||||||
## Creates a new output model.
|
## Creates a new output model.
|
||||||
# \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:
|
||||||
|
# FIXME
|
||||||
|
# Note that we're using '2' here as extruder count. We have hardcoded this for now to prevent issues where the
|
||||||
|
# amount of extruders coming back from the API is actually lower (which it can be if a printer was just added
|
||||||
|
# to a cluster). This should be fixed in the future, probably also on the cluster API side.
|
||||||
model = PrinterOutputModel(controller, 2, firmware_version = self.firmware_version)
|
model = PrinterOutputModel(controller, 2, firmware_version = self.firmware_version)
|
||||||
self.updateOutputModel(model)
|
self.updateOutputModel(model)
|
||||||
return model
|
return model
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue