mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Improvements to avoid numerical issues in bridge detection and bridge exclusion
This commit is contained in:
1 parent
581376bf75
commit
010b71e9d4
3 files changed
+19
-16
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user