mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Merge pull request #5661 from Ultimaker/CL-1055_show_sliced_for_pills_on_print_jobs
CL-1055 show sliced for pills on print jobs
This commit is contained in:
commit
da539b34f5
2 changed files with 3 additions and 7 deletions
|
@ -158,14 +158,9 @@ Item
|
||||||
spacing: 6 // TODO: Theme!
|
spacing: 6 // TODO: Theme!
|
||||||
visible: printJob
|
visible: printJob
|
||||||
|
|
||||||
Repeater
|
MonitorPrinterPill
|
||||||
{
|
{
|
||||||
id: compatiblePills
|
text: printJob.configuration.printerType
|
||||||
delegate: MonitorPrinterPill
|
|
||||||
{
|
|
||||||
text: modelData
|
|
||||||
}
|
|
||||||
model: printJob ? printJob.compatibleMachineFamilies : []
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -535,6 +535,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
||||||
extruder.setMaterial(self._createMaterialOutputModel(extruder_data.get("material", {})))
|
extruder.setMaterial(self._createMaterialOutputModel(extruder_data.get("material", {})))
|
||||||
|
|
||||||
configuration.setExtruderConfigurations(extruders)
|
configuration.setExtruderConfigurations(extruders)
|
||||||
|
configuration.setPrinterType(data.get("machine_variant", ""))
|
||||||
print_job.updateConfiguration(configuration)
|
print_job.updateConfiguration(configuration)
|
||||||
print_job.setCompatibleMachineFamilies(data.get("compatible_machine_families", []))
|
print_job.setCompatibleMachineFamilies(data.get("compatible_machine_families", []))
|
||||||
print_job.stateChanged.connect(self._printJobStateChanged)
|
print_job.stateChanged.connect(self._printJobStateChanged)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue