mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH: refine logic for chamber temp and exhaust fan
1. Add chamber temp option for 3rd printers 2. Move support_air_filtration option from develop mode to advanced mode jira:[NEW] Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I9cb4263fc12d9d5edcf2595d97143446b3e63316
This commit is contained in:
@@ -1904,6 +1904,12 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||
// Set extruder(s) temperature before and after start G-code.
|
||||
this->_print_first_layer_extruder_temperatures(file, print, machine_start_gcode, initial_extruder_id, false);
|
||||
}
|
||||
|
||||
// BBS: chamber temp control for 3rd printers
|
||||
if (!is_BBL_Printer() && print.config().support_chamber_temp_control.value && max_chamber_temp > 0 ){
|
||||
file.write(m_writer.set_chamber_temperature(max_chamber_temp,true));
|
||||
}
|
||||
|
||||
// adds tag for processor
|
||||
file.write_format(";%s%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Role).c_str(), ExtrusionEntity::role_to_string(erCustom).c_str());
|
||||
|
||||
@@ -2193,7 +2199,8 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||
file.write(m_writer.update_progress(m_layer_count, m_layer_count, true)); // 100%
|
||||
file.write(m_writer.postamble());
|
||||
|
||||
file.write(m_writer.set_chamber_temperature(0, false)); //close chamber_temperature
|
||||
if (print.config().support_chamber_temp_control.value && max_chamber_temp>0)
|
||||
file.write(m_writer.set_chamber_temperature(0, false)); //close chamber_temperature
|
||||
|
||||
|
||||
// adds tags for time estimators
|
||||
|
||||
Reference in New Issue
Block a user