FIX: use extruder list to decide chamber temp

As title.Use the same way to decide exhaust fan.
Removes end print exhaust fan control.

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id14f3d91171b81239b336ef879061c6de7d68edf
This commit is contained in:
xun.zhang 2023-08-14 19:59:45 +08:00 committed by Lane.Wei
parent 9b20cad55e
commit 8d2a5dedc1
10 changed files with 44 additions and 112 deletions

View file

@ -354,11 +354,6 @@ namespace Slic3r {
float time() const;
};
struct ExhaustFanInfo {
bool activate{ false };
int print_end_exhaust_fan_speed{0};
int print_end_exhaust_fan_time{0};
};
private:
struct TimeMachine
@ -456,10 +451,6 @@ namespace Slic3r {
float filament_load_times;
float filament_unload_times;
// start fan x second before print complete
ExhaustFanInfo exhaust_fan_info;
mutable bool insert_fan_control_flag{false};
std::array<TimeMachine, static_cast<size_t>(PrintEstimatedStatistics::ETimeMode::Count)> machines;
void reset();
@ -625,7 +616,6 @@ namespace Slic3r {
private:
GCodeReader m_parser;
ExhaustFanInfo m_exhaust_fan_info;
EUnits m_units;
EPositioningType m_global_positioning_type;
EPositioningType m_e_local_positioning_type;