mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added calculation of the material consumption
This commit is contained in:
parent
589ac889a3
commit
88f04e0fae
3 changed files with 64 additions and 13 deletions
|
@ -175,7 +175,8 @@ struct SLAPrintStatistics
|
|||
{
|
||||
SLAPrintStatistics() { clear(); }
|
||||
std::string estimated_print_time;
|
||||
double total_used_material;
|
||||
double objects_used_material;
|
||||
double support_used_material;
|
||||
double total_cost;
|
||||
double total_weight;
|
||||
|
||||
|
@ -188,7 +189,8 @@ struct SLAPrintStatistics
|
|||
|
||||
void clear() {
|
||||
estimated_print_time.clear();
|
||||
total_used_material = 0.;
|
||||
objects_used_material = 0.;
|
||||
support_used_material = 0.;
|
||||
total_cost = 0.;
|
||||
total_weight = 0.;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue