mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Skip support material for one-layer objects
This commit is contained in:
@@ -578,6 +578,7 @@ sub combine_infill {
|
|||||||
|
|
||||||
sub generate_support_material {
|
sub generate_support_material {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
return if $self->layer_count < 2;
|
||||||
|
|
||||||
my $threshold_rad = $Slic3r::Config->support_material_threshold
|
my $threshold_rad = $Slic3r::Config->support_material_threshold
|
||||||
? deg2rad($Slic3r::Config->support_material_threshold + 1) # +1 makes the threshold inclusive
|
? deg2rad($Slic3r::Config->support_material_threshold + 1) # +1 makes the threshold inclusive
|
||||||
|
|||||||
Reference in New Issue
Block a user