mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06:00
Ported union_pt() to XS
This commit is contained in:
parent
443d4e52cb
commit
9cf831b9c5
7 changed files with 78 additions and 42 deletions
|
@ -37,7 +37,7 @@ sub fill_surface {
|
|||
# generate paths from the outermost to the innermost, to avoid
|
||||
# adhesion problems of the first central tiny loops
|
||||
@loops = map Slic3r::Polygon->new(@$_),
|
||||
reverse traverse_pt( union_pt(\@loops, PFT_EVENODD) );
|
||||
reverse traverse_pt( union_pt(\@loops) );
|
||||
|
||||
# order paths using a nearest neighbor search
|
||||
my @paths = ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue