mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
Fix speed up during overhang slowdown when curled perimeters is enabled. (#9215)
This commit is contained in:
parent
66a71d4db0
commit
7f913f1cc2
1 changed files with 4 additions and 0 deletions
|
@ -442,6 +442,10 @@ public:
|
|||
};
|
||||
|
||||
float extrusion_speed = std::min(calculate_speed(curr.distance), calculate_speed(next.distance));
|
||||
// ORCA: Clamp resulting speed to lowest of calculated speed based on the overhang values and the current speed
|
||||
// Fixes bug where resulting overhang speed is higher than the current speed due to (for example) volumetric flow limits.
|
||||
extrusion_speed = std::min(extrusion_speed, original_speed);
|
||||
|
||||
if(slowdown_for_curled_edges) {
|
||||
float curled_speed = calculate_speed(artificial_distance_to_curled_lines);
|
||||
extrusion_speed = std::min(curled_speed, extrusion_speed); // adjust extrusion speed based on what is smallest - the calculated overhang speed or the artificial curled speed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue