Implemented custom extruder(tool) change from DoubleSlider

This commit is contained in:
YuSanka 2019-10-15 15:42:30 +02:00
parent 5c2b5a167b
commit 4b0fe7cba4
6 changed files with 95 additions and 9 deletions

View file

@ -836,6 +836,9 @@ public:
// Propose an output path, replace extension. The new_extension shall contain the initial dot.
std::string propose_export_file_name_and_path(const std::string &new_extension) const;
// from custom_gcode_per_height get just tool_change codes
std::vector<std::pair<double, DynamicPrintConfig>> get_custom_tool_changes(double default_layer_height) const;
private:
explicit Model(int) : ObjectBase(-1) { assert(this->id().invalid()); };
void assign_new_unique_ids_recursive();