Get rid of max_print_dimension in filler objects

This commit is contained in:
Alessandro Ranellucci 2012-10-30 15:09:54 +01:00
parent 6c97e588b1
commit 20e73face2
4 changed files with 9 additions and 23 deletions

View file

@ -29,10 +29,7 @@ sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ }
}
{
my $filler = Slic3r::Fill::Rectilinear->new(
print => Slic3r::Print->new,
max_print_dimension => scale 100,
);
my $filler = Slic3r::Fill::Rectilinear->new;
my $surface = Slic3r::Surface->new(
surface_type => S_TYPE_TOP,
expolygon => Slic3r::ExPolygon->new([ scale_points [0,0], [50,0], [50,50], [0,50] ]),