ENH: modify filament group strategy
jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Iac837beeb7a5c4684aea38c3e3925a67cd916fe8
This commit is contained in:
parent
9f3c98dcfb
commit
e3f4496adf
|
@ -534,7 +534,7 @@ namespace Slic3r
|
|||
if (used_filament_num < 10)
|
||||
return calc_filament_group_by_enum(layer_filaments, used_filaments, g_strategy, cost);
|
||||
else
|
||||
return calc_filament_group_by_pam2(layer_filaments, used_filaments, g_strategy, cost, 300);
|
||||
return calc_filament_group_by_pam2(layer_filaments, used_filaments, g_strategy, cost, 500);
|
||||
}
|
||||
|
||||
// sorted used_filaments
|
||||
|
|
|
@ -978,7 +978,7 @@ std::vector<int> ToolOrdering::get_recommended_filament_maps(const std::vector<s
|
|||
fg.set_memory_threshold(0.02);
|
||||
fg.get_custom_seq = get_custom_seq;
|
||||
|
||||
ret = fg.calc_filament_group(layer_filaments, FGStrategy::BestFit);
|
||||
ret = fg.calc_filament_group(layer_filaments, FGStrategy::BestCost);
|
||||
|
||||
// optimize for master extruder id
|
||||
optimize_group_for_master_extruder(used_filaments, context, ret);
|
||||
|
|
Loading…
Reference in New Issue