Faster algorithm for rectilinear fill
This commit is contained in:
parent
33d7b8c7cf
commit
1978a99416
10 changed files with 242 additions and 159 deletions
|
@ -218,6 +218,10 @@ sub validate {
|
|||
$Slic3r::print_center = [ split /,/, $Slic3r::print_center ]
|
||||
if !ref $Slic3r::print_center;
|
||||
|
||||
# --fill-type
|
||||
die "Invalid value for --fill-type\n"
|
||||
if !exists $Slic3r::Fill::FillTypes{$Slic3r::fill_type};
|
||||
|
||||
# --fill-density
|
||||
die "Invalid value for --fill-density\n"
|
||||
if $Slic3r::fill_density < 0 || $Slic3r::fill_density > 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue