1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Print time in output G-code: fill in the time if the file export

dialog is open after the slicing finished.
This commit is contained in:
bubnikv
2018-12-12 15:09:20 +01:00
parent f60a767ed9
commit b8939ed7df
3 changed files with 53 additions and 29 deletions
+7
View File
@@ -249,6 +249,13 @@ struct PrintStatistics
double total_wipe_tower_filament;
std::map<size_t, float> filament_stats;
// Config with the filled in print statistics.
DynamicConfig config() const;
// Config with the statistics keys populated with placeholder strings.
static DynamicConfig placeholders();
// Replace the print statistics placeholders in the path.
std::string finalize_output_path(const std::string &path_in) const;
void clear() {
estimated_normal_print_time.clear();
estimated_silent_print_time.clear();