mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:15:51 +08:00
Merge pull request #5657 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
1336d0c7f3
@ -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…
x
Reference in New Issue
Block a user