1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

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

This commit is contained in:
Lukas Matena
2018-09-05 15:35:35 +02:00
parent 22569de00f
commit c83a5474f6
9 changed files with 91 additions and 25 deletions
+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
%}