mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
ENH: consider type when select best map for ams
1.Add filament type into consideration when selecting best map for ams in filament saving mode jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I7d4a4ff66da479ab560eaeea614e5bbf0f930d3f (cherry picked from commit 4b6f82d042cadbd65e66edbb1c8287791da5caa3)
This commit is contained in:
@@ -93,7 +93,12 @@ namespace Slic3r
|
||||
} machine_info;
|
||||
};
|
||||
|
||||
std::vector<int> select_best_group_for_ams(const std::vector<std::vector<int>>& map_lists, const std::vector<unsigned int>& used_filaments, const std::vector<FilamentGroupUtils::Color>& used_filament_colors_, const std::vector<std::vector<FilamentGroupUtils::Color>>& ams_filament_colros_,const double color_delta_threshold = 20);
|
||||
std::vector<int> select_best_group_for_ams(const std::vector<std::vector<int>>& map_lists,
|
||||
const std::vector<unsigned int>& used_filaments,
|
||||
const std::vector<FilamentGroupUtils::Color>& used_filament_colors,
|
||||
const std::vector<std::string>& used_filament_types,
|
||||
const std::vector<std::vector<FilamentGroupUtils::FilamentInfo>>& machine_filament_info,
|
||||
const double color_delta_threshold = 20);
|
||||
|
||||
std::vector<int> optimize_group_for_master_extruder(const std::vector<unsigned int>& used_filaments, const FilamentGroupContext& ctx, const std::vector<int>& filament_map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user