mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 14:04:11 -06:00
Customizable speed for small perimeters. #60
This commit is contained in:
parent
ea254588f7
commit
53bc9c7421
8 changed files with 28 additions and 1 deletions
|
@ -71,6 +71,11 @@ sub make_perimeter {
|
|||
push @{ $layer->perimeters }, Slic3r::ExtrusionLoop->cast($contour, role => 'perimeter');
|
||||
}
|
||||
}
|
||||
|
||||
# detect small perimeters by checking their area
|
||||
for (@{ $layer->perimeters }) {
|
||||
$_->role('small-perimeter') if $_->polygon->area < $Slic3r::small_perimeter_area;
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue