Bugfix: the grow() method wasn't working properly, causing bad brim/support material interface. #639
This commit is contained in:
parent
9ee9b54c73
commit
f50b0040ef
2 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue