mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-19 21:51:06 +00:00
Ported nearest_point() and nearest_point_index()
This commit is contained in:
1 parent
f1e9216c70
commit
b11b595c97
18 files changed
+79
-69
No files matched your search
+1
-1
@@ -211,7 +211,7 @@ sub extrude_loop {
|
||||
}
|
||||
|
||||
# split the loop at the starting point and make a path
|
||||
my $start_at = Slic3r::Geometry::nearest_point($last_pos, \@candidates);
|
||||
my $start_at = $last_pos->nearest_point(\@candidates);
|
||||
my $extrusion_path = $loop->split_at($start_at);
|
||||
|
||||
# clip the path to avoid the extruder to get exactly on the first point of the loop;
|
||||
|
||||
Reference in new issue
Block a user