mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Ported diff_ex, intersection_ex, union_ex, xor_ex
This commit is contained in:
parent
f7ada2b5db
commit
bf8c799685
9 changed files with 72 additions and 48 deletions
|
@ -70,7 +70,7 @@ sub make_fill {
|
|||
@groups = sort { defined $a->[0]->bridge_angle ? -1 : 0 } @groups;
|
||||
|
||||
foreach my $group (@groups) {
|
||||
my $union = union_ex([ map $_->p, @$group ], undef, 1);
|
||||
my $union = union_ex([ map $_->p, @$group ], 1);
|
||||
|
||||
# subtract surfaces having a defined bridge_angle from any other
|
||||
if (@surfaces_with_bridge_angle && !defined $group->[0]->bridge_angle) {
|
||||
|
@ -120,7 +120,6 @@ sub make_fill {
|
|||
(map @{$_->expolygon}, grep $_->surface_type == S_TYPE_INTERNALVOID, @surfaces),
|
||||
(@$collapsed),
|
||||
],
|
||||
undef,
|
||||
1,
|
||||
)};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue