lower segment count on smooth parts

This commit is contained in:
PavelMikus 2022-08-03 18:05:10 +02:00 committed by Lukas Matena
parent 3f36187101
commit 06084b0bc5

View file

@ -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);