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:
parent
0deee20ade
commit
68f001a7de
2 changed files with 2 additions and 1 deletions
|
@ -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 => {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue