ENH: support custom the first layer print sequence

Change-Id: I0516948292933fe47d39fb3ae2f7e91473b45b3a
(cherry picked from commit 5bbdb28c86509d5f94b5b9c33a0f2e1b2749e94b)
(cherry picked from commit 22c6e9f1d2c6f1b86c70827c8bec65a857fe2bc5)
This commit is contained in:
zhimin.zeng 2023-08-08 10:54:07 +08:00 committed by lane.wei
parent f926f9e00f
commit f783da81ce
6 changed files with 124 additions and 0 deletions

View file

@ -445,6 +445,10 @@ public:
//load pattern box data from file
int load_pattern_box_data(std::string filename);
std::vector<int> get_first_layer_print_sequence() const;
void set_first_layer_print_sequence(const std::vector<int> &sorted_filaments);
void update_first_layer_print_sequence(size_t filament_nums);
void print() const;
friend class cereal::access;