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
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2018-06-27 16:35:47 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-06-27 16:35:47 +0300
commit7ff22b941343bd8f3aabed43d75fb64b9ff5abab (patch)
treec0ce7e2d8db8b7d363e658edff05d46e9d3ef312 /lib/Slic3r/GUI
parentde28d4edebc983a54fdd55ddb041743cff0230f5 (diff)
Time estimate emitted to gcode at requested interval
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r--lib/Slic3r/GUI/Plater.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index 330ec69d5..9422da354 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -509,7 +509,10 @@ sub new {
fil_mm3 => L("Used Filament (mm³)"),
fil_g => L("Used Filament (g)"),
cost => L("Cost"),
- default_time => L("Estimated printing time (default mode)"),
+#==========================================================================================================================================
+ normal_time => L("Estimated printing time (normal mode)"),
+# default_time => L("Estimated printing time (default mode)"),
+#==========================================================================================================================================
silent_time => L("Estimated printing time (silent mode)"),
);
while (my $field = shift @info) {
@@ -1578,7 +1581,10 @@ 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_default_time"}->SetLabel($self->{print}->estimated_default_print_time);
+#==========================================================================================================================================
+ $self->{"print_info_normal_time"}->SetLabel($self->{print}->estimated_normal_print_time);
+# $self->{"print_info_default_time"}->SetLabel($self->{print}->estimated_default_print_time);
+#==========================================================================================================================================
$self->{"print_info_silent_time"}->SetLabel($self->{print}->estimated_silent_print_time);
$self->{"print_info_fil_m"}->SetLabel(sprintf("%.2f" , $self->{print}->total_used_filament / 1000));
$self->{"print_info_box_show"}->(1);