mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-01 15:22:21 +00:00
ENH: refine ams mapping for U0 firmware
display index of filament Change-Id: I8a97a71cd334a1536ae7bfd4a5673e9757b2e662 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
@@ -166,6 +166,7 @@ public:
|
||||
wxColour get_color();
|
||||
|
||||
bool is_tray_info_ready();
|
||||
bool is_unset_third_filament();
|
||||
};
|
||||
|
||||
|
||||
@@ -364,6 +365,8 @@ public:
|
||||
|
||||
int ams_filament_mapping(std::vector<FilamentInfo> filaments, std::vector<FilamentInfo> &result, std::vector<int> exclude_id = std::vector<int>());
|
||||
bool is_valid_mapping_result(std::vector<FilamentInfo>& result);
|
||||
// exceed index start with 0
|
||||
bool is_mapping_exceed_filament(std::vector<FilamentInfo>& result, int &exceed_index);
|
||||
void reset_mapping_result(std::vector<FilamentInfo>& result);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user