mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
GCode Anayzer take in account extruder offsets
This commit is contained in:
@@ -104,6 +104,9 @@ private:
|
||||
State m_state;
|
||||
GCodeReader m_parser;
|
||||
TypeToMovesMap m_moves_map;
|
||||
#if ENABLE_ANALYZER_EXTRUDER_OFFSET
|
||||
std::vector<Vec2d> m_extruder_offsets;
|
||||
#endif // ENABLE_ANALYZER_EXTRUDER_OFFSET
|
||||
|
||||
// The output of process_layer()
|
||||
std::string m_process_output;
|
||||
@@ -111,6 +114,10 @@ private:
|
||||
public:
|
||||
GCodeAnalyzer();
|
||||
|
||||
#if ENABLE_ANALYZER_EXTRUDER_OFFSET
|
||||
void set_extruder_offsets(const std::vector<Vec2d>& extruder_offsets);
|
||||
#endif // ENABLE_ANALYZER_EXTRUDER_OFFSET
|
||||
|
||||
// Reinitialize the analyzer
|
||||
void reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user