mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 23:16:06 +08:00
Merge branch 'main' into CURA-12091_fix_infill_plugin_start_crash
This commit is contained in:
commit
0c07609413
@ -1084,9 +1084,8 @@ class XmlMaterialProfile(InstanceContainer):
|
||||
# Skip material properties (eg diameter) or metadata (eg GUID)
|
||||
return
|
||||
|
||||
truth_map = { True: "yes", False: "no" }
|
||||
if tag_name != "cura:setting" and instance.value in truth_map:
|
||||
data = truth_map[instance.value]
|
||||
if tag_name != "cura:setting" and isinstance(instance.value, bool):
|
||||
data = "yes" if instance.value else "no"
|
||||
else:
|
||||
data = str(instance.value)
|
||||
|
||||
|
@ -36,9 +36,9 @@
|
||||
},
|
||||
"machine_heated_bed": { "default_value": true },
|
||||
"machine_height": { "default_value": 250 },
|
||||
"machine_max_acceleration_e": { "value": 5000 },
|
||||
"machine_max_acceleration_x": { "value": 5000.0 },
|
||||
"machine_max_acceleration_y": { "value": 5000.0 },
|
||||
"machine_max_acceleration_e": { "value": 2500 },
|
||||
"machine_max_acceleration_x": { "value": 2500.0 },
|
||||
"machine_max_acceleration_y": { "value": 2500.0 },
|
||||
"machine_max_acceleration_z": { "value": 500.0 },
|
||||
"machine_max_feedrate_e": { "value": 100 },
|
||||
"machine_max_feedrate_x": { "value": 500 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user