From 69d3f0e6f6460f2c8c71a3990bad83f29b55785d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 13 Jan 2022 12:02:59 +0100 Subject: [PATCH] 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. --- resources/definitions/fdmprinter.def.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 4b33b35daa..7c64362390 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1248,12 +1248,14 @@ "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.", "unit": "mm", + "default_value": 0.1, "value": "wall_line_width_0 / 4", "minimum_value": "0", "maximum_value": "wall_line_width_0", "type": "float", "limit_to_extruder": "wall_0_extruder_nr", - "enabled": "fill_outline_gaps" + "enabled": "fill_outline_gaps", + "settable_per_mesh": true }, "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.", "unit": "mm", "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_warning": "min_feature_size", "maximum_value_warning": "wall_line_width_0", "type": "float", "limit_to_extruder": "wall_0_extruder_nr", - "enabled": "fill_outline_gaps" + "enabled": "fill_outline_gaps", + "settable_per_mesh": true }, "xy_offset": {