ENH: new filament group algorithm

1.When n<10, calc all case cost
2.When n>10, first k-medoids algorithm first
3.Enable setting group size

jira:NEW

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I625f47e0235c70e440c6d489b052a156fbffca3f
(cherry picked from commit 9ec276d3d7114fff7a33213c3b47ce88df85f2ee)
This commit is contained in:
xun.zhang
2024-07-08 21:31:28 +08:00
committed by Noisyfox
parent 2ff3b46a7e
commit 0ad75a223b
5 changed files with 516 additions and 306 deletions

View File

@@ -453,6 +453,8 @@ set(lisbslic3r_sources
calib.cpp
GCode/Thumbnails.cpp
GCode/Thumbnails.hpp
FilamentGroup.hpp
FilamentGroup.cpp
)
if (APPLE)