mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 03:16:01 +08:00
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
@ -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…
x
Reference in New Issue
Block a user