Do not oversimplify outer perimeters and keep the full resolution of the input file. #340 #462

This commit is contained in:
Alessandro Ranellucci 2012-06-23 20:08:08 +02:00
parent 20229fccdb
commit 44c636aea1
3 changed files with 9 additions and 5 deletions

View file

@ -221,6 +221,10 @@ sub export_gcode {
$status_cb->(20, "Generating perimeters");
$_->make_perimeters for @{$self->objects};
# simplify slices, we only need the max resolution for perimeters
$_->simplify(scale $Slic3r::resolution)
for map @{$_->expolygon}, map @{$_->slices}, map @{$_->layers}, @{$self->objects};
# this will clip $layer->surfaces to the infill boundaries
# and split them in top/bottom/internal surfaces;
$status_cb->(30, "Detecting solid surfaces");