Loops were not closing well

This commit is contained in:
Alessandro Ranellucci 2012-01-21 11:51:31 +01:00
parent 0e23f20df1
commit f1b1454b36
2 changed files with 2 additions and 2 deletions

View File

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

View File

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