time estimation shown in GUI after gcode export

This commit is contained in:
Enrico Turri 2017-12-11 11:11:54 +01:00
parent a0a503e4a8
commit bea9628be0
5 changed files with 23 additions and 55 deletions

View file

@ -273,5 +273,15 @@ Print::total_cost(...)
OUTPUT:
RETVAL
double
Print::estimated_print_time(...)
CODE:
if (items > 1) {
THIS->estimated_print_time = (double)SvNV(ST(1));
}
RETVAL = THIS->estimated_print_time;
OUTPUT:
RETVAL
%}
};