From 5e850557d4b6745e3121a9988b997b3e26c21501 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 19 Dec 2011 13:00:42 +0100 Subject: [PATCH] Added note to self about using the skeletonization algorithm to fill small gaps --- lib/Slic3r/Perimeter.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Slic3r/Perimeter.pm b/lib/Slic3r/Perimeter.pm index 378c0d09..ab58e81d 100644 --- a/lib/Slic3r/Perimeter.pm +++ b/lib/Slic3r/Perimeter.pm @@ -54,6 +54,10 @@ sub make_perimeter { ($_, surface_type => $surface->surface_type), map $_->offset_ex(-$distance), @last_offsets; + # TODO: diff(offset(@last_offsets, -$distance/2), offset(@fill_boundaries, +$distance/2)) + # this represents the small gaps that we need to treat like thin polygons, + # thus generating the skeleton and using it to fill them + push @{ $layer->fill_boundaries }, @fill_boundaries if @fill_boundaries; } }