1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: the grow() method wasn't working properly, causing bad brim/support material interface. #639

This commit is contained in:
Alessandro Ranellucci
2012-09-28 15:27:33 +02:00
parent 9ee9b54c73
commit f50b0040ef
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ sub length {
# this only applies to polylines
sub grow {
my $self = shift;
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..-2])->offset(@_);
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)])->offset(@_);
}
sub nearest_point_to {
+1
View File
@@ -594,6 +594,7 @@ sub make_brim {
polygon => Slic3r::Polygon->new($_),
role => EXTR_ROLE_SKIRT,
) for @{Math::Clipper::offset(\@islands, $i * $flow->scaled_spacing, 100, JT_SQUARE)};
# TODO: we need the offset inwards/offset outwards logic to avoid overlapping extrusions
}
}