mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
GCode Anayzer take in account extruder offsets
This commit is contained in:
parent
4f122fed70
commit
8a29ec2204
4 changed files with 51 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue