mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06:00
Get rid of max_print_dimension in filler objects
This commit is contained in:
parent
6c97e588b1
commit
20e73face2
4 changed files with 9 additions and 23 deletions
5
t/fill.t
5
t/fill.t
|
@ -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] ]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue