mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Bugfix: a lot of extra support material was generated when using both raft layers and support material. #2030
This commit is contained in:
parent
e62672f787
commit
8290a006ed
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ sub contact_area {
|
||||||
# If a threshold angle was specified, use a different logic for detecting overhangs.
|
# If a threshold angle was specified, use a different logic for detecting overhangs.
|
||||||
if (defined $threshold_rad
|
if (defined $threshold_rad
|
||||||
|| $layer_id < $self->object_config->support_material_enforce_layers
|
|| $layer_id < $self->object_config->support_material_enforce_layers
|
||||||
|| $self->object_config->raft_layers > 0) {
|
|| ($self->object_config->raft_layers > 0 && $layer_id == 0)) {
|
||||||
my $d = defined $threshold_rad
|
my $d = defined $threshold_rad
|
||||||
? scale $lower_layer->height * ((cos $threshold_rad) / (sin $threshold_rad))
|
? scale $lower_layer->height * ((cos $threshold_rad) / (sin $threshold_rad))
|
||||||
: 0;
|
: 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue