mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Apply Douglas-Peucker to all paths before generating G-code
This commit is contained in:
parent
08700aa942
commit
a66e8e547d
5 changed files with 6 additions and 4 deletions
|
@ -126,6 +126,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