From 7681261b03f29e95e2b7055d05fc2b20e5041c4a Mon Sep 17 00:00:00 2001 From: Mark Burton Date: Tue, 7 Feb 2017 09:55:15 +0000 Subject: [PATCH] Added anchor_skin_shrink_distance. Also, renamed anchor_skin_distance to anchor_skin_expand_distance. The idea behind the shrink distance is that when the slope of the model surface is steep, very slim skin areas are created close to the wall and if they are expanded we end up with skin inside the infill that isn't required. So by shrinking the skin polygons slightly first, the very slim areas are removed before the skin is expanded. The amount to shrink defaults to half the wall width which appears to work OK but may as well make it a setting so that it can be tweaked if required. --- resources/definitions/fdmprinter.def.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/definitions/fdmprinter.def.json b/resources/definitions/fdmprinter.def.json index bbb9d14e8d..a45a80b544 100644 --- a/resources/definitions/fdmprinter.def.json +++ b/resources/definitions/fdmprinter.def.json @@ -1270,9 +1270,9 @@ "enabled": "anchor_skins_in_infill", "settable_per_mesh": true }, - "anchor_skin_distance": + "anchor_skin_expand_distance": { - "label": "Anchor Skin Distance", + "label": "Anchor Skin Expand Distance", "description": "The distance the skins are expanded into the infill. The default distance is enough to bridge the gap between the infill lines and will stop holes appearing in the skin where it meets the wall when the infill density is low. A smaller distance will often be sufficient.", "unit": "mm", "type": "float", @@ -1281,6 +1281,18 @@ "minimum_value": "0", "enabled": "anchor_skins_in_infill", "settable_per_mesh": true + }, + "anchor_skin_shrink_distance": + { + "label": "Anchor Skin Shrink Distance", + "description": "The distance the skins are shrunk before they are expanded. Shrinking the skins slightly first removes the very narrow skin areas that are created when the model surface has a slope close to the vertical.", + "unit": "mm", + "type": "float", + "default_value": 0, + "value": "wall_thickness * 0.5", + "minimum_value": "0", + "enabled": "anchor_skins_in_infill", + "settable_per_mesh": true } } }