mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-17 11:55: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,8 +271,10 @@ sub validate {
|
|||||||
if $self->support_material || $self->support_material_enforce_layers > 0;
|
if $self->support_material || $self->support_material_enforce_layers > 0;
|
||||||
}
|
}
|
||||||
# --min-layer-height and --max-layer-height
|
# --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."
|
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
|
# extrusion widths
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user