mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Time estimate shown in GUI as formatted string / Write to file made by class GCode's private methods
This commit is contained in:
parent
20234c94ee
commit
0fe855cd6d
7 changed files with 146 additions and 141 deletions
|
@ -184,6 +184,9 @@ namespace Slic3r {
|
|||
// Calculates the time estimate from the gcode contained in the file with the given filename
|
||||
void calculate_time_from_file(const std::string& file);
|
||||
|
||||
// Calculates the time estimate from the gcode contained in given list of gcode lines
|
||||
void calculate_time_from_lines(const std::vector<std::string>& gcode_lines);
|
||||
|
||||
// Adds the given gcode line
|
||||
void add_gcode_line(const std::string& gcode_line);
|
||||
|
||||
|
@ -252,7 +255,7 @@ namespace Slic3r {
|
|||
// Calculates the time estimate
|
||||
void _calculate_time();
|
||||
|
||||
// Processes GCode line
|
||||
// Processes the given gcode line
|
||||
void _process_gcode_line(GCodeReader&, const GCodeReader::GCodeLine& line);
|
||||
|
||||
// Move
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue