mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 11:22:07 +00:00
ENH:calibration
1.adjust interaction of calibration
add select my device
add select multi-amstray
modify ams selector
2.add some x1c calibration command
Change-Id: I403446cc0cd3ae5e1dec5d2dc97920ff334522da
This commit is contained in:
@@ -214,6 +214,32 @@ public:
|
||||
Preset::Type type() const { return m_type; }
|
||||
};
|
||||
|
||||
// ---------------------------------
|
||||
// *** CalibrateFilamentComboBox ***
|
||||
// ---------------------------------
|
||||
|
||||
class CalibrateFilamentComboBox : public PlaterPresetComboBox
|
||||
{
|
||||
public:
|
||||
CalibrateFilamentComboBox(wxWindow *parent);
|
||||
~CalibrateFilamentComboBox();
|
||||
|
||||
void load_tray(DynamicPrintConfig & config);
|
||||
|
||||
void update() override;
|
||||
void OnSelect(wxCommandEvent &evt) override;
|
||||
const Preset* get_selected_preset() { return m_selected_preset; }
|
||||
bool is_tray_exist() { return m_filament_exist; }
|
||||
|
||||
private:
|
||||
std::string m_tray_name;
|
||||
std::string m_filament_id;
|
||||
std::string m_filament_type;
|
||||
std::string m_filament_color;
|
||||
bool m_filament_exist{false};
|
||||
const Preset* m_selected_preset = nullptr;
|
||||
};
|
||||
|
||||
} // namespace GUI
|
||||
} // namespace Slic3r
|
||||
|
||||
|
||||
Reference in New Issue
Block a user