mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Acceleration control. #185
This commit is contained in:
parent
34e047205a
commit
32fd58d531
6 changed files with 44 additions and 10 deletions
|
@ -323,9 +323,9 @@ sub reset_e {
|
|||
sub set_acceleration {
|
||||
my $self = shift;
|
||||
my ($acceleration) = @_;
|
||||
return "" unless $Slic3r::Config->acceleration;
|
||||
return "" if !$acceleration;
|
||||
|
||||
return sprintf "M201 E%s%s\n",
|
||||
return sprintf "M204 S%s%s\n",
|
||||
$acceleration, ($Slic3r::Config->gcode_comments ? ' ; adjust acceleration' : '');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue