mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Add anealing description and icon
CURA-10633
This commit is contained in:
parent
bb991e1e2c
commit
e2ac1ef810
3 changed files with 18 additions and 0 deletions
|
@ -53,6 +53,12 @@ class IntentCategoryModel(ListModel):
|
||||||
"name": catalog.i18nc("@label", "Draft"),
|
"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.")
|
"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
|
return cls._translations
|
||||||
|
|
||||||
def __init__(self, intent_category: str) -> None:
|
def __init__(self, intent_category: str) -> None:
|
||||||
|
|
|
@ -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."),
|
"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"
|
"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
|
return default_profile_information
|
||||||
|
|
||||||
def _onContainerChange(self, container: ContainerInterface) -> None:
|
def _onContainerChange(self, container: ContainerInterface) -> None:
|
||||||
|
|
6
resources/themes/cura-light/icons/default/Anneal.svg
Normal file
6
resources/themes/cura-light/icons/default/Anneal.svg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M19 5H5V19H19V5ZM6 3C4.34315 3 3 4.34315 3 6V18C3 19.6569 4.34315 21 6 21H18C19.6569 21 21 19.6569 21 18V6C21 4.34315 19.6569 3 18 3H6Z" fill="black"/>
|
||||||
|
<path d="M16 8L15.3416 8.32918C14.4971 8.75147 13.5029 8.75147 12.6584 8.32918L11.3416 7.67082C10.4971 7.24853 9.50294 7.24853 8.65836 7.67082L8 8" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M16 12L15.3416 12.3292C14.4971 12.7515 13.5029 12.7515 12.6584 12.3292L11.3416 11.6708C10.4971 11.2485 9.50294 11.2485 8.65836 11.6708L8 12" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M16 16L15.3416 16.3292C14.4971 16.7515 13.5029 16.7515 12.6584 16.3292L11.3416 15.6708C10.4971 15.2485 9.50294 15.2485 8.65836 15.6708L8 16" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 983 B |
Loading…
Add table
Add a link
Reference in a new issue