mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: optimize group logic for unprintable filaments
1.Also fix a tip mistake jira: NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ia52f95988d467a7018579a774376578b83e7ca05 (cherry picked from commit 804fe8d124e916f5957244913a50d24aceb621bd)
This commit is contained in:
@@ -1089,14 +1089,6 @@ std::vector<int> ToolOrdering::get_recommended_filament_maps(const std::vector<s
|
||||
fg.get_custom_seq = get_custom_seq;
|
||||
ret = fg.calc_filament_group();
|
||||
}
|
||||
|
||||
// todo: need calculated based on already grouped filaments
|
||||
// PPS-CF/PPA-CF can only be placed on the left extruder
|
||||
for (unsigned int filament_id : used_filaments) {
|
||||
if (print_config.filament_type.get_at(filament_id) == "PPS-CF" || print_config.filament_type.get_at(filament_id) == "PPA-CF") {
|
||||
ret[filament_id] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user