ENH: use physical extruder map to get ext id

jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ibfaacfc31863404153a80289bd5cb47d72418060
(cherry picked from commit 8616784886afe119b39783559760794caea179d8)
This commit is contained in:
xun.zhang
2024-11-01 15:01:40 +08:00
committed by Noisyfox
parent f382ee98db
commit 9ed5d8a1a9
2 changed files with 30 additions and 18 deletions

View File

@@ -721,6 +721,9 @@ class Print;
bool m_wipe_tower;
int m_object_label_id{-1};
std::vector<float> m_remaining_volume;
ExtruderTemps m_filament_nozzle_temp;
ExtruderTemps m_filament_nozzle_temp_first_layer;
std::vector<int> m_physical_extruder_map;
bool m_manual_filament_change;
//BBS: x, y offset for gcode generated
@@ -749,8 +752,6 @@ class Print;
unsigned char m_extruder_id;
ExtruderColors m_extruder_colors;
ExtruderTemps m_extruder_temps;
ExtruderTemps m_extruder_temps_config;
ExtruderTemps m_extruder_temps_first_layer_config;
bool m_is_XL_printer = false;
int m_highest_bed_temp;
float m_extruded_last_z;