mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 19:15:58 +08:00
min_layer_height and max_layer_height are arrays (because they are tied to the extruder).
This commit is contained in:
parent
916c30c3d0
commit
a4a0d52ccc
@ -271,9 +271,11 @@ sub validate {
|
||||
if $self->support_material || $self->support_material_enforce_layers > 0;
|
||||
}
|
||||
# --min-layer-height and --max-layer-height
|
||||
for (my $extruder=0; $extruder < scalar @{$self->max_layer_height}; $extruder++) {
|
||||
die "Max layer height should be greater than min layer height."
|
||||
if $self->adaptive_slicing && ($self->max_layer_height < $self->min_layer_height);
|
||||
|
||||
if $self->adaptive_slicing && ($self->max_layer_height->[$extruder] < $self->min_layer_height->[$extruder]);
|
||||
};
|
||||
|
||||
# extrusion widths
|
||||
{
|
||||
my $max_nozzle_diameter = max(@{ $self->nozzle_diameter });
|
||||
|
Loading…
x
Reference in New Issue
Block a user