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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2017-12-14 11:18:28 +0300
committerEnrico Turri <enricoturri@seznam.cz>2017-12-14 11:18:28 +0300
commit0fe855cd6d12f067a6f14469c886a5091b421752 (patch)
treef7b6580dd0449584fe4db84adaa855858d115d35 /xs/src/libslic3r/Print.hpp
parent20234c94eee03e7e361a91fafedf5c1a753baed5 (diff)
Time estimate shown in GUI as formatted string / Write to file made by class GCode's private methods
Diffstat (limited to 'xs/src/libslic3r/Print.hpp')
-rw-r--r--xs/src/libslic3r/Print.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Print.hpp b/xs/src/libslic3r/Print.hpp
index bf137924a..a81406f11 100644
--- a/xs/src/libslic3r/Print.hpp
+++ b/xs/src/libslic3r/Print.hpp
@@ -233,14 +233,15 @@ public:
PrintRegionPtrs regions;
PlaceholderParser placeholder_parser;
// TODO: status_cb
- double total_used_filament, total_extruded_volume, total_cost, total_weight, estimated_print_time;
+ std::string estimated_print_time;
+ double total_used_filament, total_extruded_volume, total_cost, total_weight;
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), estimated_print_time(0) { restart(); }
+ Print() : total_used_filament(0), total_extruded_volume(0) { restart(); }
~Print() { clear_objects(); }
// methods for handling objects