mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
CURA-4870 Prepare the UI to show the list of configurations
This commit is contained in:
parent
6e35fc5035
commit
49fcf35d9b
9 changed files with 113 additions and 100 deletions
|
@ -1,8 +1,7 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from PyQt5.QtCore import pyqtSignal, pyqtProperty, QObject, QVariant, pyqtSlot
|
||||
from UM.Logger import Logger
|
||||
from PyQt5.QtCore import pyqtSignal, pyqtProperty, QObject, pyqtSlot
|
||||
|
||||
from typing import Optional
|
||||
|
||||
|
@ -83,7 +82,7 @@ class ExtruderOutputModel(QObject):
|
|||
self._extruder_configuration = {
|
||||
"position": self._position,
|
||||
"material": self._active_material.type if self.activeMaterial is not None else None,
|
||||
"hotend_id": self._hotend_id
|
||||
"hotendID": self._hotend_id
|
||||
}
|
||||
print("Recalculating extruder configuration:", self._extruder_configuration)
|
||||
self.extruderConfigurationChanged.emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue