New experimental feature for pressure management. Credits to @llluis for the original implementation. #1203 #1677 #2018

This commit is contained in:
Alessandro Ranellucci 2014-11-24 18:22:39 +01:00
parent 5a382f0200
commit ff9b53260d
9 changed files with 108 additions and 2 deletions

View file

@ -667,7 +667,7 @@ sub write_gcode {
}
# write end commands to file
print $fh $gcodegen->retract;
print $fh $gcodegen->retract; # TODO: process this retract through PressureRegulator in order to discharge fully
print $fh $gcodegen->writer->set_fan(0);
printf $fh "%s\n", $gcodegen->placeholder_parser->process($self->config->end_gcode);
print $fh $gcodegen->writer->update_progress($gcodegen->layer_count, $gcodegen->layer_count, 1); # 100%