mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Clip less from loops to avoid gaps
This commit is contained in:
@@ -76,7 +76,7 @@ sub extrude_loop {
|
|||||||
my $extrusion_path = $loop->split_at($start_at);
|
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
|
# 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);
|
$extrusion_path->clip_end(scale $Slic3r::nozzle_diameter / 2);
|
||||||
|
|
||||||
# extrude along the path
|
# extrude along the path
|
||||||
return $self->extrude($extrusion_path, $description);
|
return $self->extrude($extrusion_path, $description);
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ sub fill_surface {
|
|||||||
my $path = $loop->split_at($cur_pos);
|
my $path = $loop->split_at($cur_pos);
|
||||||
|
|
||||||
# clip the path to avoid the extruder to get exactly on the first point of the loop
|
# clip the path to avoid the extruder to get exactly on the first point of the loop
|
||||||
$path->clip_end(scale $Slic3r::nozzle_diameter);
|
$path->clip_end(scale $Slic3r::nozzle_diameter / 2);
|
||||||
|
|
||||||
push @paths, $path->p;
|
push @paths, $path->p;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user