mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-12-06 02:46:33 +01:00
Very large refactoring. Ditched Slic3r::Polyline::Closed and reorganized geometric classes.
This commit is contained in:
1 parent
2def6a9787
commit
8ed91a8ec4
20 files changed
+293
-349
No files matched your search
@@ -51,7 +51,7 @@ sub fill_surface {
|
||||
($bounding_box->[X1] + $bounding_box->[X2]) / 2,
|
||||
($bounding_box->[Y1] + $bounding_box->[Y2]) / 2,
|
||||
);
|
||||
foreach my $loop (map Slic3r::ExtrusionLoop->cast($_, role => 'fill'), @loops) {
|
||||
foreach my $loop (map Slic3r::ExtrusionLoop->new(polygon => $_, role => 'fill'), @loops) {
|
||||
# find the point of the loop that is closest to the current extruder position
|
||||
$cur_pos = $loop->nearest_point_to($cur_pos);
|
||||
|
||||
|
||||
Reference in new issue
Block a user