mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
ENH: add tool order function
1.Use min cost max flow to solve the tool order jira:NEW Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I909845039b67c7fe3ddd42580ad3f1d71d52262d (cherry picked from commit 0716b8518ef62e0eac7c45de8bafb1458d8f9a8e)
This commit is contained in:
@@ -52,6 +52,7 @@ namespace Slic3r
|
||||
std::optional<std::function<bool(int, std::vector<int>&)>> get_custom_seq;
|
||||
};
|
||||
|
||||
|
||||
class KMediods
|
||||
{
|
||||
enum INIT_TYPE
|
||||
@@ -83,5 +84,6 @@ namespace Slic3r
|
||||
private:
|
||||
std::vector<int>m_filament_labels;
|
||||
};
|
||||
|
||||
}
|
||||
#endif // !FILAMENT_GROUP_HPP
|
||||
|
||||
Reference in New Issue
Block a user