GCodeAnalyzer uses annotated gcode in place of processing m600 lines to detect color print changes

This commit is contained in:
Enrico Turri 2019-08-21 14:09:20 +02:00
parent 7c0c5705df
commit 85ed363951
3 changed files with 28 additions and 19 deletions
src/libslic3r

View file

@ -1522,7 +1522,11 @@ void GCode::process_layer(
// we should add or not colorprint_change in respect to nozzle_diameter count instead of really used extruders count
if (colorprint_change && print./*extruders()*/config().nozzle_diameter.size()==1)
{
// add tag for analyzer
gcode += "; " + GCodeAnalyzer::Color_Change_Tag + "\n";
gcode += "M600\n";
}
// Extrude skirt at the print_z of the raft layers and normal object layers