mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-20 23:24:26 +08:00
Don't collapse overhangs too early
This commit is contained in:
parent
0f5064dd32
commit
c13d9e9fb3
@ -834,8 +834,8 @@ sub generate_support_material {
|
|||||||
? scale $lower_layer->height * ((cos $threshold_rad) / (sin $threshold_rad))
|
? scale $lower_layer->height * ((cos $threshold_rad) / (sin $threshold_rad))
|
||||||
: $self->layers->[1]->regions->[0]->overhang_width;
|
: $self->layers->[1]->regions->[0]->overhang_width;
|
||||||
|
|
||||||
@overhangs = map $_->offset_ex(2 * $distance), @{diff_ex(
|
@overhangs = map $_->offset_ex(+$distance), @{diff_ex(
|
||||||
[ map @$_, map $_->offset_ex(-$distance), @{$layer->slices} ],
|
[ map @$_, @{$layer->slices} ],
|
||||||
[ map @$_, @{$lower_layer->slices} ],
|
[ map @$_, @{$lower_layer->slices} ],
|
||||||
1,
|
1,
|
||||||
)};
|
)};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user