Loops were not closing well
This commit is contained in:
parent
0e23f20df1
commit
f1b1454b36
@ -85,7 +85,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 / 2);
|
$extrusion_path->clip_end(scale $Slic3r::flow_width * 0.15);
|
||||||
|
|
||||||
# extrude along the path
|
# extrude along the path
|
||||||
return $self->extrude_path($extrusion_path, $description);
|
return $self->extrude_path($extrusion_path, $description);
|
||||||
|
@ -59,7 +59,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 / 2);
|
$path->clip_end(scale $Slic3r::flow_width * 0.15);
|
||||||
|
|
||||||
push @paths, $path->points if @{$path->points};
|
push @paths, $path->points if @{$path->points};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user