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

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;