mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Loops were not closing well
This commit is contained in:
@@ -85,7 +85,7 @@ sub extrude_loop {
|
||||
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
|
||||
$extrusion_path->clip_end(scale $Slic3r::nozzle_diameter / 2);
|
||||
$extrusion_path->clip_end(scale $Slic3r::flow_width * 0.15);
|
||||
|
||||
# extrude along the path
|
||||
return $self->extrude_path($extrusion_path, $description);
|
||||
|
||||
@@ -59,7 +59,7 @@ sub fill_surface {
|
||||
my $path = $loop->split_at($cur_pos);
|
||||
|
||||
# clip the path to avoid the extruder to get exactly on the first point of the loop
|
||||
$path->clip_end(scale $Slic3r::nozzle_diameter / 2);
|
||||
$path->clip_end(scale $Slic3r::flow_width * 0.15);
|
||||
|
||||
push @paths, $path->points if @{$path->points};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user