Wipe tower extrusions are now accounted for in the filament consumption statistics

This commit is contained in:
Lukas Matena committed 2018-09-05 15:35:35 +02:00
1 parent 22569de00f
commit c83a5474f6
9 files changed
+91 -25

No files matched your search

+20
View File
@@ -276,6 +276,26 @@ Print::total_cost(...)
THIS->total_cost = (double)SvNV(ST(1));
}
RETVAL = THIS->total_cost;
OUTPUT:
RETVAL
double
Print::total_wipe_tower_cost(...)
CODE:
if (items > 1) {
THIS->total_wipe_tower_cost = (double)SvNV(ST(1));
}
RETVAL = THIS->total_wipe_tower_cost;
OUTPUT:
RETVAL
double
Print::total_wipe_tower_filament(...)
CODE:
if (items > 1) {
THIS->total_wipe_tower_filament = (double)SvNV(ST(1));
}
RETVAL = THIS->total_wipe_tower_filament;
OUTPUT:
RETVAL
%}