mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
GCodeViewer -> Added estimated printing times for extrusion roles
This commit is contained in:
parent
5d845c7a25
commit
b03ae392c5
4 changed files with 144 additions and 54 deletions
|
@ -314,6 +314,8 @@ struct PrintStatistics
|
|||
std::vector<std::pair<CustomGCode::Type, std::pair<std::string, std::string>>> estimated_silent_custom_gcode_print_times_str;
|
||||
std::vector<std::pair<GCodeProcessor::EMoveType, float>> estimated_normal_moves_times;
|
||||
std::vector<std::pair<GCodeProcessor::EMoveType, float>> estimated_silent_moves_times;
|
||||
std::vector<std::pair<ExtrusionRole, float>> estimated_normal_roles_times;
|
||||
std::vector<std::pair<ExtrusionRole, float>> estimated_silent_roles_times;
|
||||
#else
|
||||
std::string estimated_normal_print_time;
|
||||
std::string estimated_silent_print_time;
|
||||
|
@ -366,6 +368,8 @@ struct PrintStatistics
|
|||
estimated_silent_custom_gcode_print_times.clear();
|
||||
estimated_normal_moves_times.clear();
|
||||
estimated_silent_moves_times.clear();
|
||||
estimated_normal_roles_times.clear();
|
||||
estimated_silent_roles_times.clear();
|
||||
}
|
||||
#endif //ENABLE_GCODE_VIEWER
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue