mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
Wipe tower extrusions are now accounted for in the filament consumption statistics
This commit is contained in:
parent
22569de00f
commit
c83a5474f6
9 changed files with 91 additions and 25 deletions
|
@ -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
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue