1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Customizable speed for small perimeters. #60

This commit is contained in:
Alessandro Ranellucci
2011-12-04 20:50:03 +01:00
parent ea254588f7
commit 53bc9c7421
8 changed files with 28 additions and 1 deletions
+5
View File
@@ -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;