mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-06 14:57:50 -07:00
ENH: modify filament group strategy
jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Iac837beeb7a5c4684aea38c3e3925a67cd916fe8 (cherry picked from commit e3f4496adf87ce68691c2e511b065925784c54e1)
This commit is contained in:
parent
1b11416cb8
commit
041ca29ab7
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -979,7 +979,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…
Add table
Add a link
Reference in a new issue