From e42448d31b24fd658b906075db096da977e84bc2 Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Tue, 10 May 2022 13:44:39 +0200 Subject: [PATCH] improve snapping of drawn seams to smaller angles (now bigger than 0.3*PI) --- src/libslic3r/GCode/SeamPlacer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/SeamPlacer.cpp b/src/libslic3r/GCode/SeamPlacer.cpp index d54d7fd657..ec2b59e370 100644 --- a/src/libslic3r/GCode/SeamPlacer.cpp +++ b/src/libslic3r/GCode/SeamPlacer.cpp @@ -484,7 +484,7 @@ void process_perimeter_polygon(const Polygon &orig_polygon, float z_coord, const break; } viable_points_indices.push_back(last_enforced_idx); - if (abs(result.points[last_enforced_idx].local_ccw_angle) > 0.4 * PI) { + if (abs(result.points[last_enforced_idx].local_ccw_angle) > 0.3 * PI) { orig_large_angle_points_indices.push_back(last_enforced_idx); } last_enforced_idx = next_index(last_enforced_idx);