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

View file

@ -15,7 +15,7 @@ use Slic3r::Geometry qw(PI X Y epsilon deg2rad rotate_points);
has 'polyline' => (
is => 'rw',
required => 1,
handles => [qw(merge_continuous_lines lines length reverse clip_end)],
handles => [qw(merge_continuous_lines lines length reverse clip_end simplify)],
);
# height is the vertical thickness of the extrusion expressed in mm