added total cost/weight to Extruder statistics, mocked up addendum to status bar change.

This commit is contained in:
Joseph Lenox 2017-01-16 01:00:05 -06:00 committed by bubnikv
parent 3846d9e734
commit 203a965b3d
5 changed files with 30 additions and 6 deletions

View file

@ -268,6 +268,8 @@ sub generate_support_material {
}
$self->set_step_done(STEP_SUPPORTMATERIAL);
my $stats = "Weight: %.1fg, Cost: %.1f" , $self->print->total_weight, $self->print->total_cost;
$self->print->status_cb->(85, $stats);
}
# Idempotence of this method is guaranteed by the fact that we don't remove things from