mirror of https://github.com/vitalif/Slic3r
Added note to self about using the skeletonization algorithm to fill small gaps
parent
e2a5c2119f
commit
5e850557d4
|
@ -54,6 +54,10 @@ sub make_perimeter {
|
||||||
($_, surface_type => $surface->surface_type),
|
($_, surface_type => $surface->surface_type),
|
||||||
map $_->offset_ex(-$distance), @last_offsets;
|
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;
|
push @{ $layer->fill_boundaries }, @fill_boundaries if @fill_boundaries;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue