mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Customizable speed for small perimeters. #60
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user