mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06: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:
parent
2a84e68852
commit
2eb9aea56a
6 changed files with 93 additions and 11 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue