Changed the G-code protocol for cleaning up the priming towers

for the multi material prints.
This commit is contained in:
bubnikv 2017-09-13 13:27:49 +02:00
parent 83b5b9e660
commit e2a169b0e5

View File

@ -705,10 +705,11 @@ bool GCode::_do_export(Print &print, FILE *file)
if (bbox_prime.overlap(bbox_print)) { if (bbox_prime.overlap(bbox_print)) {
// Wait for the user to remove the priming extrusions, otherwise they would // Wait for the user to remove the priming extrusions, otherwise they would
// get covered by the print. // get covered by the print.
fprintf(file, "M1 Remove priming towers and click button.\nM117 Printing\n"); fprintf(file, "M1 Remove priming towers and click button.\n");
} else { } else {
// Just wait for a bit to let the user check, that the priming succeeded. // Just wait for a bit to let the user check, that the priming succeeded.
fprintf(file, "M117 Verify extruder priming\nM0 S10\nM117 Printing\n"); //TODO Add a message explaining what the printer is waiting for. This needs a firmware fix.
fprintf(file, "M1 S10\n");
} }
} else } else
write(file, WipeTowerIntegration::prime_single_color_print(print, initial_extruder_id, *this)); write(file, WipeTowerIntegration::prime_single_color_print(print, initial_extruder_id, *this));