Additional check to return a friendly error when binary STL is not valid

This commit is contained in:
Alessandro Ranellucci 2011-12-18 10:50:55 +01:00
parent eca6d0b6d0
commit 47bbe18de2
2 changed files with 2 additions and 1 deletions

View file

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