mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06: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:
parent
f60a767ed9
commit
b8939ed7df
3 changed files with 53 additions and 29 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue