mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
ENH: resume addition cooling fan after filament change
During filament changing, additional cooling fan may be closed to reduce strings. Force to resume after changing filament. This logic is same with part cooling fan. So no side effect. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I207c8692dbe5b0450ed0a3d11c4c9b70eda0e28c
This commit is contained in:
parent
2daf0ab5df
commit
4ef50375cb
1 changed files with 2 additions and 0 deletions
|
@ -811,6 +811,8 @@ std::string CoolingBuffer::apply_layer_cooldown(
|
||||||
//BBS: force to write a fan speed command again
|
//BBS: force to write a fan speed command again
|
||||||
if (m_current_fan_speed != -1)
|
if (m_current_fan_speed != -1)
|
||||||
new_gcode += GCodeWriter::set_fan(m_config.gcode_flavor, m_current_fan_speed);
|
new_gcode += GCodeWriter::set_fan(m_config.gcode_flavor, m_current_fan_speed);
|
||||||
|
if (m_additional_fan_speed != -1)
|
||||||
|
new_gcode += GCodeWriter::set_additional_fan(m_additional_fan_speed);
|
||||||
}
|
}
|
||||||
else if (line->type & CoolingLine::TYPE_EXTRUDE_END) {
|
else if (line->type & CoolingLine::TYPE_EXTRUDE_END) {
|
||||||
// Just remove this comment.
|
// Just remove this comment.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue