mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Store unmapped settings in a separate set
We don't want to create actual settings for all of these. Just store them in the profile metadata and restore them. Serialising and deserialising these is a bit more work than what I could do now in 5 minutes so we'll have to do that a bit later, but at least for now we have the complete list. Contributes to issue CURA-9432.
This commit is contained in:
parent
e0c319ed46
commit
795814d50b
2 changed files with 25 additions and 19 deletions
|
@ -1139,14 +1139,36 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
"maximum park duration": "material_maximum_park_duration",
|
||||
"no load move factor": "material_no_load_move_factor",
|
||||
"break speed": "material_break_speed",
|
||||
"break temperature": "material_break_temperature",
|
||||
"tainted print core max temperature": "max_degradation_temperature",
|
||||
"recommend cleaning after n prints": "recommended_cleaning_after_n_prints"
|
||||
"break temperature": "material_break_temperature"
|
||||
} # type: Dict[str, str]
|
||||
__unmapped_settings = [
|
||||
"hardware compatible",
|
||||
"hardware recommended"
|
||||
]
|
||||
__keep_serialized_settings = { # Settings irrelevant to Cura, but that could be present in the files so we must store them and keep them serialized.
|
||||
"relative extrusion",
|
||||
"flow sensor detection margin",
|
||||
"different material purge volume",
|
||||
"same material purge volume",
|
||||
"end of print purge volume",
|
||||
"end of filament purge volume",
|
||||
"purge anti ooze retract position",
|
||||
"purge drop retract position",
|
||||
"purge retract speed",
|
||||
"purge unretract speed",
|
||||
"purge anti ooze dwell time",
|
||||
"purge drop dwell time",
|
||||
"dwell time before break preparation move",
|
||||
"pressure release dwell time",
|
||||
"tainted print core max temperature",
|
||||
"recommended cleaning after n prints",
|
||||
|
||||
"maximum heated bed temperature",
|
||||
"material bed adhesion temperature",
|
||||
"maximum heated chamber temperature",
|
||||
"shrinkage percentage",
|
||||
"move to die distance",
|
||||
}
|
||||
__material_properties_setting_map = {
|
||||
"diameter": "material_diameter"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue