From 0187ed855e3f8332d7693499a29e908f3e8d0f24 Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Tue, 28 Jun 2022 14:49:08 +0200 Subject: [PATCH] do not consider concave angles for curling, they actually improve the issue --- src/libslic3r/SupportSpotsGenerator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/SupportSpotsGenerator.cpp b/src/libslic3r/SupportSpotsGenerator.cpp index b9b98e952b..7c84f7c847 100644 --- a/src/libslic3r/SupportSpotsGenerator.cpp +++ b/src/libslic3r/SupportSpotsGenerator.cpp @@ -473,7 +473,8 @@ void check_extrusion_entity_stability(const ExtrusionEntity *entity, current_line.malformation += 0.9 * nearest_line.malformation; } if (dist_from_prev_layer > flow_width * 0.3) { - current_line.malformation += 0.15 * (0.6 + 0.4 * malformation_acc.max_curvature / PI); + malformation_acc.add_distance(current_line.len); + current_line.malformation += 0.15 * (0.8 + 0.2 * malformation_acc.max_curvature / (1.0f + 0.5f*malformation_acc.distance)); } else { malformation_acc.reset(); }