mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Estimated printing time per layer for SLAPrint
Split the time if it's needed
This commit is contained in:
parent
5f97b2512b
commit
5144feb319
5 changed files with 87 additions and 20 deletions
|
@ -350,6 +350,7 @@ struct SLAPrintStatistics
|
|||
size_t fast_layers_count;
|
||||
double total_cost;
|
||||
double total_weight;
|
||||
std::vector<double> layers_times;
|
||||
|
||||
// Config with the filled in print statistics.
|
||||
DynamicConfig config() const;
|
||||
|
@ -366,6 +367,7 @@ struct SLAPrintStatistics
|
|||
fast_layers_count = 0;
|
||||
total_cost = 0.;
|
||||
total_weight = 0.;
|
||||
layers_times.clear();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue