Bugfix: wrong spacing was calculated

This commit is contained in:
Alessandro Ranellucci 2012-07-02 17:09:09 +02:00
parent 641c2a241b
commit c1c8997b4e
3 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@ sub BUILD {
$min_flow_spacing = $flow_width - $self->layer_height * (1 - PI/4);
} else {
# rectangle with shrunk semicircles at the ends
$min_flow_spacing = $flow_width * (1 - PI/4) + $self->nozzle_diameter * PI/4;
$min_flow_spacing = $self->nozzle_diameter * (1 - PI/4) + $flow_width * PI/4;
}
$flow_spacing = $flow_width - $Slic3r::overlap_factor * ($flow_width - $min_flow_spacing);