mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -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!
|
||||
visible: printJob
|
||||
|
||||
Repeater
|
||||
MonitorPrinterPill
|
||||
{
|
||||
id: compatiblePills
|
||||
delegate: MonitorPrinterPill
|
||||
{
|
||||
text: modelData
|
||||
}
|
||||
model: printJob ? printJob.compatibleMachineFamilies : []
|
||||
text: printJob.configuration.printerType
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -535,6 +535,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||
extruder.setMaterial(self._createMaterialOutputModel(extruder_data.get("material", {})))
|
||||
|
||||
configuration.setExtruderConfigurations(extruders)
|
||||
configuration.setPrinterType(data.get("machine_variant", ""))
|
||||
print_job.updateConfiguration(configuration)
|
||||
print_job.setCompatibleMachineFamilies(data.get("compatible_machine_families", []))
|
||||
print_job.stateChanged.connect(self._printJobStateChanged)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue