mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
Include the wipe tower print time into the cooling time.
Further refactoring of Extruder class.
This commit is contained in:
parent
0454cc95f9
commit
39b9341359
6 changed files with 67 additions and 72 deletions
|
@ -83,8 +83,8 @@ std::string CoolingBuffer::flush()
|
|||
fan_speed = config.max_fan_speed.values.front();
|
||||
|
||||
// We are not altering speed of bridges.
|
||||
float time_to_stretch = m_elapsed_time->total - m_elapsed_time->bridges;
|
||||
float target_time = (float)config.slowdown_below_layer_time.values.front() - m_elapsed_time->bridges;
|
||||
float time_to_stretch = m_elapsed_time->stretchable();
|
||||
float target_time = (float)config.slowdown_below_layer_time.values.front() - m_elapsed_time->non_stretchable();
|
||||
|
||||
// If we spend most of our time on external perimeters include them in the slowdown,
|
||||
// otherwise only alter other extrusions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue