Bugfix: model with rounded walls had small useless infill regions. #177

This commit is contained in:
Alessandro Ranellucci 2012-02-10 14:42:54 +01:00
parent 7893480fd7
commit ad8c9d4ea1
3 changed files with 12 additions and 1 deletions

View file

@ -37,6 +37,14 @@ sub group {
return values %unique_types;
}
sub offset {
my $self = shift;
return (ref $self)->new(
expolygon => $self->expolygon->offset_ex(@_),
map { $_ => $self->$_ } qw(surface_type depth_layers bridge_angle),
);
}
sub add_hole {
my $self = shift;
my ($hole) = @_;