mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 17:12:56 +00:00
Thin walls. #24
This commit is contained in:
@@ -79,6 +79,15 @@ sub make_perimeter {
|
||||
for (@{ $layer->perimeters }) {
|
||||
$_->role('small-perimeter') if $_->polygon->area < $Slic3r::small_perimeter_area;
|
||||
}
|
||||
|
||||
# add thin walls as perimeters
|
||||
for (@{ $layer->thin_walls }) {
|
||||
if ($_->isa('Slic3r::Polygon')) {
|
||||
push @{ $layer->perimeters }, Slic3r::ExtrusionLoop->cast($_, role => 'perimeter');
|
||||
} else {
|
||||
push @{ $layer->perimeters }, Slic3r::ExtrusionPath->cast($_->points, role => 'perimeter');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
Reference in New Issue
Block a user