ENH: support custom the first layer print sequence

Change-Id: I0516948292933fe47d39fb3ae2f7e91473b45b3a
(cherry picked from commit 5bbdb28c86509d5f94b5b9c33a0f2e1b2749e94b)
This commit is contained in:
zhimin.zeng
2023-08-08 10:54:07 +08:00
committed by Lane.Wei
parent 3f53791200
commit 476ca19689
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;