mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Don't validate the number of layers for infill combination, just limit it automatically. #993
This commit is contained in:
parent
91bcfc8a74
commit
5eade0f9e1
2 changed files with 8 additions and 5 deletions
|
@ -1213,9 +1213,6 @@ sub validate {
|
|||
# --infill-every-layers
|
||||
die "Invalid value for --infill-every-layers\n"
|
||||
if $self->infill_every_layers !~ /^\d+$/ || $self->infill_every_layers < 1;
|
||||
# TODO: this check should be limited to the extruder used for infill
|
||||
die "Maximum infill thickness can't exceed nozzle diameter\n"
|
||||
if grep $self->infill_every_layers * $self->layer_height > $_, @{$self->nozzle_diameter};
|
||||
|
||||
# --scale
|
||||
die "Invalid value for --scale\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue