Take support material into account when generating brim. #490 #501 #567

This commit is contained in:
Alessandro Ranellucci 2012-08-06 20:54:49 +02:00
parent 9bfa4118a1
commit b7d8444ac8
2 changed files with 12 additions and 1 deletions

View file

@ -85,6 +85,12 @@ sub length {
return $length;
}
# this only applies to polylines
sub grow {
my $self = shift;
return Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..-2])->offset(@_);
}
sub nearest_point_to {
my $self = shift;
my ($point) = @_;