mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-11 16:00:17 -07:00
Acceleration control. #185
This commit is contained in:
parent
ad8c9d4ea1
commit
74c71b4ef2
5 changed files with 38 additions and 1 deletions
|
|
@ -502,12 +502,14 @@ sub export_gcode {
|
|||
print $fh $extruder->change_layer($layer);
|
||||
|
||||
# extrude skirts
|
||||
print $fh $extruder->set_acceleration($Slic3r::perimeter_acceleration);
|
||||
print $fh $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts };
|
||||
|
||||
# extrude perimeters
|
||||
print $fh $extruder->extrude($_, 'perimeter') for @{ $layer->perimeters };
|
||||
|
||||
# extrude fills
|
||||
print $fh $extruder->set_acceleration($Slic3r::infill_acceleration);
|
||||
for my $fill (@{ $layer->fills }) {
|
||||
print $fh $extruder->extrude_path($_, 'fill')
|
||||
for $fill->shortest_path($extruder->last_pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue