diff options
author | Rijk van Manen <r.vanmanen@ultimaker.com> | 2022-11-09 17:25:12 +0300 |
---|---|---|
committer | Rijk van Manen <r.vanmanen@ultimaker.com> | 2022-11-09 17:25:12 +0300 |
commit | 22b6e16aa6ef21b07202a4603fb6e7b3d04bd2e8 (patch) | |
tree | f0d84967bbf19697beb387ec3dfd0afa65b5016e | |
parent | 95c7251b9dea6d49285bf22b7064a5f23a31d529 (diff) |
the slow down should be added to already existing slowdownsCURA-9872-dont-reduce-speed-for-high-minimum-speed
The slow down due to minimum layer time comes on top of the other slow downs (e.g. small features). CURA-9872
-rw-r--r-- | src/LayerPlan.cpp | 5 |
1 files 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; } } } |