Apply Douglas-Peucker to all paths before generating G-code
This commit is contained in:
parent
427e3c1720
commit
c99ff0cfe2
5 changed files with 6 additions and 4 deletions
lib/Slic3r
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue