From 06084b0bc53efe2167cc53180953895c90f2cd1e Mon Sep 17 00:00:00 2001 From: PavelMikus Date: Wed, 3 Aug 2022 18:05:10 +0200 Subject: [PATCH] lower segment count on smooth parts --- 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 0960b96ec0..72b9412d39 100644 --- a/src/libslic3r/GCode/SeamPlacer.cpp +++ b/src/libslic3r/GCode/SeamPlacer.cpp @@ -1394,7 +1394,7 @@ void SeamPlacer::align_seam_points(const PrintObject *po, const SeamPlacerImpl:: // Curve Fitting size_t number_of_segments = std::max( - std::max(size_t(1), seam_string.size() / 80), + std::max(size_t(1), seam_string.size() / 200), size_t(segments_count / SeamPlacer::seam_align_seams_per_segment)); auto curve = Geometry::fit_cubic_bspline(observations, observation_points, weights, number_of_segments);