Apply Douglas-Peucker to all paths before generating G-code

This commit is contained in:
Alessandro Ranellucci 2012-11-18 17:38:08 +01:00
parent 427e3c1720
commit c99ff0cfe2
5 changed files with 6 additions and 4 deletions
lib/Slic3r

View file

@ -119,6 +119,7 @@ sub extrude_path {
my ($path, $description, $recursive) = @_;
$path = $path->unpack if $path->isa('Slic3r::ExtrusionPath::Packed');
$path->simplify(&Slic3r::SCALED_RESOLUTION);
# detect arcs
if ($Slic3r::Config->gcode_arcs && !$recursive) {