Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@fr.fr>2021-07-05 20:39:28 +0300
committersupermerill <merill@fr.fr>2021-07-05 20:41:40 +0300
commit34b8d0634ab14bc249c2ef626c8373a4a8262fbd (patch)
treeb77fb21e87bcc582334504fb0ddfce47debdf6c7
parent8d91d70448092488f6d5d9a46037b0774db912c4 (diff)
Ignore G1 'R' and 'H' from reprap
supermerill/SuperSlicer#1391
-rw-r--r--src/libslic3r/GCode/GCodeProcessor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libslic3r/GCode/GCodeProcessor.cpp b/src/libslic3r/GCode/GCodeProcessor.cpp
index e94766bd6..e84380de9 100644
--- a/src/libslic3r/GCode/GCodeProcessor.cpp
+++ b/src/libslic3r/GCode/GCodeProcessor.cpp
@@ -1841,6 +1841,10 @@ void GCodeProcessor::process_G1(const GCodeReader::GCodeLine& line)
++m_g1_line_id;
+ //reprap thingy, ignore
+ if (line.has('R') || line.has('H'))
+ return;
+
// enable processing of lines M201/M203/M204/M205
m_time_processor.machine_envelope_processing_enabled = true;