Clip less from loops to avoid gaps

This commit is contained in:
Alessandro Ranellucci 2011-12-17 19:54:35 +01:00
parent 1e6ecd9eab
commit d63eabcfa5
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
} }