diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index b68ef2a3e7..8de55e2597 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -269,6 +269,13 @@ sub validate { qw(perimeter infill solid_infill top_infill support_material first_layer); } + # support material + if ($self->support_material) { + die "Angle value of 0 is illegal. Use some % value instead (e.g. 150%)\n" + if $self->support_material_threshold == 0 || $self->support_material_threshold eq '0'; + } + + # general validation, quick and dirty foreach my $opt_key (@{$self->get_keys}) { my $opt = $Options->{$opt_key};