remove TimeProcessor::post_process

This commit is contained in:
SoftFever 2025-02-16 18:38:38 +08:00
parent a4e37d428e
commit 14d49b738f
2 changed files with 9 additions and 364 deletions

View file

@ -495,15 +495,10 @@ class Print;
float filament_unload_times;
//Orca: time for tool change
float machine_tool_change_time;
bool disable_m73;
std::array<TimeMachine, static_cast<size_t>(PrintEstimatedStatistics::ETimeMode::Count)> machines;
void reset();
// post process the file with the given filename to add remaining time lines M73
// and updates moves' gcode ids accordingly
void post_process(const std::string& filename, std::vector<GCodeProcessorResult::MoveVertex>& moves, std::vector<size_t>& lines_ends, size_t total_layer_num);
};
struct UsedFilaments // filaments per ColorChange
@ -735,6 +730,7 @@ class Print;
bool m_single_extruder_multi_material;
float m_preheat_time;
int m_preheat_steps;
bool m_disable_m73;
#if ENABLE_GCODE_VIEWER_STATISTICS
std::chrono::time_point<std::chrono::high_resolution_clock> m_start_time;
#endif // ENABLE_GCODE_VIEWER_STATISTICS