Add missing default_value and settable_per_mesh

Default_value is a required property. Maybe we should have a test for this.

Done as a 5 minute fix. Fixes Ultimaker/CuraEngine#1549.
This commit is contained in:
Ghostkeeper 2022-01-13 12:02:59 +01:00
parent a1622c77ea
commit 69d3f0e6f6
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -1248,12 +1248,14 @@
"label": "Minimum Feature Size", "label": "Minimum Feature Size",
"description": "Minimum thickness of thin features. Model features that are thinner than this value will not be printed, while features thicker than the Minimum Feature Size will be widened to the Minimum Wall Line Width.", "description": "Minimum thickness of thin features. Model features that are thinner than this value will not be printed, while features thicker than the Minimum Feature Size will be widened to the Minimum Wall Line Width.",
"unit": "mm", "unit": "mm",
"default_value": 0.1,
"value": "wall_line_width_0 / 4", "value": "wall_line_width_0 / 4",
"minimum_value": "0", "minimum_value": "0",
"maximum_value": "wall_line_width_0", "maximum_value": "wall_line_width_0",
"type": "float", "type": "float",
"limit_to_extruder": "wall_0_extruder_nr", "limit_to_extruder": "wall_0_extruder_nr",
"enabled": "fill_outline_gaps" "enabled": "fill_outline_gaps",
"settable_per_mesh": true
}, },
"min_bead_width": "min_bead_width":
{ {
@ -1261,13 +1263,14 @@
"description": "Width of the wall that will replace thin features (according to the Minimum Feature Size) of the model. If the Minimum Wall Line Width is thinner than the thickness of the feature, the wall will become as thick as the feature itself.", "description": "Width of the wall that will replace thin features (according to the Minimum Feature Size) of the model. If the Minimum Wall Line Width is thinner than the thickness of the feature, the wall will become as thick as the feature itself.",
"unit": "mm", "unit": "mm",
"value": "wall_line_width_0 * (100.0 + wall_split_middle_threshold)/200", "value": "wall_line_width_0 * (100.0 + wall_split_middle_threshold)/200",
"default_value": "0.2", "default_value": 0.2,
"minimum_value": "0.001", "minimum_value": "0.001",
"minimum_value_warning": "min_feature_size", "minimum_value_warning": "min_feature_size",
"maximum_value_warning": "wall_line_width_0", "maximum_value_warning": "wall_line_width_0",
"type": "float", "type": "float",
"limit_to_extruder": "wall_0_extruder_nr", "limit_to_extruder": "wall_0_extruder_nr",
"enabled": "fill_outline_gaps" "enabled": "fill_outline_gaps",
"settable_per_mesh": true
}, },
"xy_offset": "xy_offset":
{ {