Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-01-02 12:57:30 +0300
committerbubnikv <bubnikv@gmail.com>2018-01-02 12:57:30 +0300
commit02256e900f1ce0cb4a1e108c2d7ccf208718b98e (patch)
tree887a5ac4d6a75233d70344c48a3f88360dae01ed /lib
parentc6bc55e4f9c7683ff1b414018dbe137bd7e21bcf (diff)
parentb2eb522f55d544dbde261b63c3a3c61349f20033 (diff)
Merged the branch time_estimate
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Plater.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index eb3aac0e2..10d65475c 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -434,6 +434,7 @@ sub new {
fil_mm3 => "Used Filament (mm^3)",
fil_g => "Used Filament (g)",
cost => "Cost",
+ time => "Estimated printing time",
);
while (my $field = shift @info) {
my $label = shift @info;
@@ -1428,6 +1429,7 @@ sub on_export_completed {
$self->{"print_info_cost"}->SetLabel(sprintf("%.2f" , $self->{print}->total_cost));
$self->{"print_info_fil_g"}->SetLabel(sprintf("%.2f" , $self->{print}->total_weight));
$self->{"print_info_fil_mm3"}->SetLabel(sprintf("%.2f" , $self->{print}->total_extruded_volume));
+ $self->{"print_info_time"}->SetLabel($self->{print}->estimated_print_time);
$self->{"print_info_fil_m"}->SetLabel(sprintf("%.2f" , $self->{print}->total_used_filament / 1000));
$self->{"print_info_box_show"}->(1);