From e2ac1ef8101563b78dfb6f8ee456a2be80404347 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 6 Jun 2023 12:42:09 +0200 Subject: [PATCH] Add anealing description and icon CURA-10633 --- cura/Machines/Models/IntentCategoryModel.py | 6 ++++++ cura/Machines/Models/IntentSelectionModel.py | 6 ++++++ resources/themes/cura-light/icons/default/Anneal.svg | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 resources/themes/cura-light/icons/default/Anneal.svg diff --git a/cura/Machines/Models/IntentCategoryModel.py b/cura/Machines/Models/IntentCategoryModel.py index e94bbe6d00..4f32a84a97 100644 --- a/cura/Machines/Models/IntentCategoryModel.py +++ b/cura/Machines/Models/IntentCategoryModel.py @@ -53,6 +53,12 @@ class IntentCategoryModel(ListModel): "name": catalog.i18nc("@label", "Draft"), "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction.") } + cls._translations["annealing"] = { + "name": catalog.i18nc("@label", "Annealing"), + "description": catalog.i18nc("@text", + "The annealing profile requires post-processing in an oven after the print is finished. This profile retains the dimensional accuracy of the printed part after annealing and improves strength, stiffness, and thermal resistance.") + + } return cls._translations def __init__(self, intent_category: str) -> None: diff --git a/cura/Machines/Models/IntentSelectionModel.py b/cura/Machines/Models/IntentSelectionModel.py index ec6957832c..1eee3c0d02 100644 --- a/cura/Machines/Models/IntentSelectionModel.py +++ b/cura/Machines/Models/IntentSelectionModel.py @@ -76,6 +76,12 @@ class IntentSelectionModel(ListModel): "description": catalog.i18nc("@text", "The draft profile is designed to print initial prototypes and concept validation with the intent of significant print time reduction."), "icon": "SpeedOMeter" } + default_profile_information["annealing"] = { + "name": catalog.i18nc("@label", "Annealing"), + "description": catalog.i18nc("@text", + "The annealing profile requires post-processing in an oven after the print is finished. This profile retains the dimensional accuracy of the printed part after annealing and improves strength, stiffness, and thermal resistance."), + "icon": "Anneal" + } return default_profile_information def _onContainerChange(self, container: ContainerInterface) -> None: diff --git a/resources/themes/cura-light/icons/default/Anneal.svg b/resources/themes/cura-light/icons/default/Anneal.svg new file mode 100644 index 0000000000..613d2de2b6 --- /dev/null +++ b/resources/themes/cura-light/icons/default/Anneal.svg @@ -0,0 +1,6 @@ + + + + + +