mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Merge pull request #13886 from Ultimaker/9773-add_quality_type_to_ufp_files
Add quality type to ufp files
This commit is contained in:
commit
ff65c1a670
6 changed files with 93 additions and 76 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# Copyright (c) 2022 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
import json
|
||||
from dataclasses import asdict
|
||||
from typing import cast, List, Dict
|
||||
|
||||
from Charon.VirtualFile import VirtualFile # To open UFP files.
|
||||
|
|
@ -225,8 +226,7 @@ class UFPWriter(MeshWriter):
|
|||
"changes": {},
|
||||
"all_settings": {},
|
||||
},
|
||||
"intent": machine_manager.activeIntentCategory,
|
||||
"quality": machine_manager.activeQualityOrQualityChangesName,
|
||||
"quality": asdict(machine_manager.activeQualityDisplayNameMap()),
|
||||
}
|
||||
|
||||
global_stack = cast(GlobalStack, Application.getInstance().getGlobalContainerStack())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue