mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 18:31:59 +02:00
Ported ExtrusionPath to XS. Failing test for Surface
This commit is contained in:
1 parent
8c1e1cc3ea
commit
f612d4c64e
24 files changed
+501
-143
No files matched your search
@@ -228,8 +228,9 @@ sub point_is_on_left_of_segment {
|
||||
}
|
||||
|
||||
sub polyline_lines {
|
||||
my ($polygon) = @_;
|
||||
return map Slic3r::Line->new($polygon->[$_], $polygon->[$_+1]), 0 .. $#$polygon-1;
|
||||
my ($polyline) = @_;
|
||||
my @points = @$polyline;
|
||||
return map Slic3r::Line->new(@points[$_, $_+1]), 0 .. $#points-1;
|
||||
}
|
||||
|
||||
sub polygon_lines {
|
||||
|
||||
Reference in new issue
Block a user