From 22b6e16aa6ef21b07202a4603fb6e7b3d04bd2e8 Mon Sep 17 00:00:00 2001 From: Rijk van Manen Date: Wed, 9 Nov 2022 15:25:12 +0100 Subject: the slow down should be added to already existing slowdowns The slow down due to minimum layer time comes on top of the other slow downs (e.g. small features). CURA-9872 --- src/LayerPlan.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LayerPlan.cpp b/src/LayerPlan.cpp index 552922106..29372f950 100644 --- a/src/LayerPlan.cpp +++ b/src/LayerPlan.cpp @@ -1526,8 +1526,9 @@ void ExtruderPlan::forceMinimalLayerTime(double minTime, double minimalSpeed, do { continue; } - path.speed_factor = slow_down_func(path); - path.estimates.extrude_time /= path.speed_factor; + Ratio slow_down_factor = slow_down_func(path); + path.speed_factor *= slow_down_factor; + path.estimates.extrude_time /= slow_down_factor; } } } -- cgit v1.2.3