mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 07:35:20 +00:00
Wipe tower extrusions are now accounted for in the filament consumption statistics
This commit is contained in:
@@ -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
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user