From 637f14fdad23ff579ccf0ae4ef2d520d708e97cb Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 11 Jun 2020 19:46:25 +0200 Subject: [PATCH 1/2] Add setting: Minimum slope steepness for stair-stepping. part of fixing CURA-6989 (and tickets such as CURA-6747) --- resources/definitions/fdmprinter.def.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index 85d18078e9..f81bcf05b3 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -4474,6 +4474,19 @@ "enabled": "support_enable or support_meshes_present", "settable_per_mesh": true }, + "support_bottom_stair_step_min_slope": + { + "label": "Support Stair Step Minimum Slope Angle", + "description": "The minimum slope of the area for stair-stepping to take effect. Low values should make support easier to remove on shallower slopes, but really low values may result in some very counter-intuitive results on other parts of the model.", + "unit": "°", + "type": "float", + "default_value": 10.0, + "limit_to_extruder": "support_bottom_extruder_nr if support_bottom_enable else support_infill_extruder_nr", + "minimum_value": "0.01", + "maximum_value": "89.99", + "enabled": "support_enable or support_meshes_present", + "settable_per_mesh": true + }, "support_join_distance": { "label": "Support Join Distance", From f4dc1805948db0e9fc5b6183ba2551cb6be24612 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Fri, 12 Jun 2020 11:31:13 +0200 Subject: [PATCH 2/2] Fix default value min_skin_width_for_expansion. At some point max_skin_angle_for_expansion s deafult value was updated, but the default value for its child, min_skin_width_for_expansion wasn't altered to reflect that. --- resources/definitions/fdmprinter.def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index f81bcf05b3..3a698e0e2f 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -2082,7 +2082,7 @@ "description": "Skin areas narrower than this are not expanded. This avoids expanding the narrow skin areas that are created when the model surface has a slope close to the vertical.", "unit": "mm", "type": "float", - "default_value": 2.24, + "default_value": 0, "value": "top_layers * layer_height / math.tan(math.radians(max_skin_angle_for_expansion))", "minimum_value": "0", "enabled": "(top_layers > 0 or bottom_layers > 0) and (top_skin_expand_distance > 0 or bottom_skin_expand_distance > 0)",