mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
added total cost/weight to Extruder statistics, mocked up addendum to status bar change.
This commit is contained in:
@@ -276,5 +276,26 @@ Print::total_extruded_volume(...)
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
|
||||
double
|
||||
Print::total_weight(...)
|
||||
CODE:
|
||||
if (items > 1) {
|
||||
THIS->total_weight = (double)SvNV(ST(1));
|
||||
}
|
||||
RETVAL = THIS->total_weight;
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
double
|
||||
Print::total_cost(...)
|
||||
CODE:
|
||||
if (items > 1) {
|
||||
THIS->total_cost = (double)SvNV(ST(1));
|
||||
}
|
||||
RETVAL = THIS->total_cost;
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
%}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user