mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Bug fix: Check for air filtration support on the printer level before emitting air filtration gcode command (#8681)
* Check for air filtration support on the printer level before emitting air filtration gcode command * Merge branch 'main' into Check-air-filtration-support-at-the-printer-level-too
This commit is contained in:
committed by
GitHub
parent
9a0ce083a4
commit
22e410f82d
@@ -2412,6 +2412,9 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||||||
during_print_exhaust_fan_speed = std::max(during_print_exhaust_fan_speed,
|
during_print_exhaust_fan_speed = std::max(during_print_exhaust_fan_speed,
|
||||||
m_config.during_print_exhaust_fan_speed.get_at(extruder.id()));
|
m_config.during_print_exhaust_fan_speed.get_at(extruder.id()));
|
||||||
}
|
}
|
||||||
|
// ORCA: If the printer profile doesnt support air filtration, ignore filament setting
|
||||||
|
if(!m_config.support_air_filtration)
|
||||||
|
activate_air_filtration = false;
|
||||||
if (activate_air_filtration)
|
if (activate_air_filtration)
|
||||||
file.write(m_writer.set_exhaust_fan(during_print_exhaust_fan_speed, true));
|
file.write(m_writer.set_exhaust_fan(during_print_exhaust_fan_speed, true));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user