GCode Preview - Added Custom extrusion role + extended layers range for GCode preview

This commit is contained in:
Enrico Turri 2018-02-22 08:59:47 +01:00
parent 36601723a2
commit 81eff20ad1
10 changed files with 143 additions and 29 deletions

View file

@ -150,7 +150,13 @@ void GCodeAnalyzer::_process_gcode_line(GCodeReader&, const GCodeReader::GCodeLi
{
// processes 'special' comments contained in line
if (_process_tags(line))
{
#if 0
// DEBUG ONLY: puts the line back into the gcode
m_process_output += line.raw() + "\n";
#endif
return;
}
// sets new start position/extrusion
_set_start_position(_get_end_position());