mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: double nozzle hybrid mapping
jira: none Change-Id: I64908776a6265da7809814e62c9e7a860f39bffd (cherry picked from commit c96102043bc46f134cf039edabd0d80877e9ef8e)
This commit is contained in:
@@ -482,6 +482,13 @@ public:
|
||||
UpdateToDate
|
||||
};
|
||||
|
||||
enum MappingOption {
|
||||
USE_LEFT_AMS = 0,
|
||||
USE_RIGHT_AMS,
|
||||
USE_LEFT_EXT,
|
||||
USE_RIGHT_EXT
|
||||
};
|
||||
|
||||
class ExtrusionRatioInfo
|
||||
{
|
||||
public:
|
||||
@@ -614,7 +621,8 @@ public:
|
||||
bool is_support_amx_ext_mix_mapping();
|
||||
|
||||
void get_ams_colors(std::vector<wxColour>& ams_colors);
|
||||
int ams_filament_mapping(std::vector<FilamentInfo> filaments, std::vector<FilamentInfo> &result, bool ext_first = false, bool ext_second = false, std::vector<int> exclude_id = std::vector<int>());
|
||||
void parse_tray_info(int ams_id, int sot_id, AmsTray tray, FilamentInfo& result);
|
||||
int ams_filament_mapping(std::vector<FilamentInfo> filaments, std::vector<FilamentInfo> &result, std::vector<bool> map_opt, std::vector<int> exclude_id = std::vector<int>());
|
||||
bool is_valid_mapping_result(std::vector<FilamentInfo>& result, bool check_empty_slot = false);
|
||||
// exceed index start with 0
|
||||
bool is_mapping_exceed_filament(std::vector<FilamentInfo>& result, int &exceed_index);
|
||||
|
||||
Reference in New Issue
Block a user