mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Improvements to avoid numerical issues in bridge detection and bridge exclusion
This commit is contained in:
parent
581376bf75
commit
010b71e9d4
3 changed files with 19 additions and 16 deletions
|
@ -243,7 +243,7 @@ sub unsupported_edges {
|
|||
|
||||
# filter out edges parallel to the bridging angle
|
||||
for (my $i = 0; $i <= $#$unsupported; ++$i) {
|
||||
if (first { abs($_->direction - $angle) < epsilon } @{$unsupported->[$i]->lines}) {
|
||||
if ($unsupported->[$i]->is_straight && abs($unsupported->[$i]->lines->[0]->direction < $angle) < epsilon) {
|
||||
splice @$unsupported, $i, 1;
|
||||
--$i;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue