mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-23 19:02:10 +00:00
ENH:Optimize the case with only external components
jira: STUDIO-9989 Change-Id: I7be626e8c86f684029a4c34fc8b800b880fe1fcd (cherry picked from commit 1ea13f9846e5b66b0304cd4b6bcbfbb21d8919d8)
This commit is contained in:
@@ -18,6 +18,7 @@ class CapsuleButton;
|
||||
class SyncAmsInfoDialog : public DPIDialog
|
||||
{
|
||||
enum PageType { ptColorMap = 0, ptOverride };
|
||||
bool m_only_exist_ext_spool_flag{false};
|
||||
int m_current_filament_id{0};
|
||||
int m_print_plate_idx{0};
|
||||
int m_print_plate_total{0};
|
||||
@@ -87,7 +88,10 @@ protected:
|
||||
Label * m_statictext_ams_msg{nullptr};
|
||||
Label * m_text_printer_msg{nullptr};
|
||||
wxStaticText * m_staticText_bed_title{nullptr};
|
||||
wxStaticText * m_stext_sending{nullptr};
|
||||
wxStaticText * m_original_in_colormap{nullptr};
|
||||
wxStaticText * m_original_in_override{nullptr};
|
||||
wxStaticText * m_ams_or_ext_text_in_colormap{nullptr};
|
||||
wxStaticText * m_ams_or_ext_text_in_override{nullptr};
|
||||
wxTimer * m_refresh_timer{nullptr};
|
||||
|
||||
ScalableBitmap * ams_mapping_help_icon{nullptr};
|
||||
@@ -208,6 +212,7 @@ public:
|
||||
int update_print_required_data(Slic3r::DynamicPrintConfig config, Slic3r::Model model, Slic3r::PlateDataPtrs plate_data_list, std::string file_name, std::string file_path);
|
||||
void set_print_type(PrintFromType type) { m_print_type = type; };
|
||||
bool do_ams_mapping(MachineObject *obj_);
|
||||
void deal_only_exist_ext_spool(MachineObject *obj_);
|
||||
void show_thumbnail_page();
|
||||
bool get_ams_mapping_result(std::string &mapping_array_str, std::string &mapping_array_str2, std::string &ams_mapping_info);
|
||||
bool build_nozzles_info(std::string &nozzles_info);
|
||||
|
||||
Reference in New Issue
Block a user