diff options
author | Enrico Turri <enricoturri@seznam.cz> | 2017-12-11 13:11:54 +0300 |
---|---|---|
committer | Enrico Turri <enricoturri@seznam.cz> | 2017-12-11 13:11:54 +0300 |
commit | bea9628be08d9c2be9ba49c7538112d39b1d6fa8 (patch) | |
tree | 12aaeffb29fe1cf70c516c9a641f7f193efe5918 /xs/src/libslic3r/Print.hpp | |
parent | a0a503e4a884775d21404afd0d2acc019a27a88d (diff) |
time estimation shown in GUI after gcode export
Diffstat (limited to 'xs/src/libslic3r/Print.hpp')
-rw-r--r-- | xs/src/libslic3r/Print.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xs/src/libslic3r/Print.hpp b/xs/src/libslic3r/Print.hpp index c4093b795..bf137924a 100644 --- a/xs/src/libslic3r/Print.hpp +++ b/xs/src/libslic3r/Print.hpp @@ -233,14 +233,14 @@ public: PrintRegionPtrs regions; PlaceholderParser placeholder_parser; // TODO: status_cb - double total_used_filament, total_extruded_volume, total_cost, total_weight; - std::map<size_t,float> filament_stats; + double total_used_filament, total_extruded_volume, total_cost, total_weight, estimated_print_time; + std::map<size_t, float> filament_stats; PrintState<PrintStep, psCount> state; // ordered collections of extrusion paths to build skirt loops and brim ExtrusionEntityCollection skirt, brim; - Print() : total_used_filament(0), total_extruded_volume(0) { restart(); } + Print() : total_used_filament(0), total_extruded_volume(0), estimated_print_time(0) { restart(); } ~Print() { clear_objects(); } // methods for handling objects |