Mark acceleration settings as experimental and add a M501 command at the end of the print if acceleration control is enabled

This commit is contained in:
Alessandro Ranellucci 2012-02-14 21:57:53 +01:00
parent 0deee20ade
commit 68f001a7de
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,7 @@ sub new {
options => [qw(travel_speed bottom_layer_speed_ratio)],
},
acceleration => {
title => 'Acceleration settings',
title => 'Acceleration (experimental)',
options => [qw(acceleration perimeter_acceleration infill_acceleration)],
},
accuracy => {

View file

@ -521,6 +521,7 @@ sub export_gcode {
# write end commands to file
print $fh $extruder->retract;
print $fh "M501 ; reset acceleration\n" if $Slic3r::acceleration;
print $fh "$Slic3r::end_gcode\n";
printf $fh "; filament used = %.1fmm (%.1fcm3)\n",