mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 03:31:52 +08:00
Better overlap for planepath fill patterns
This commit is contained in:
parent
4b4a0c8a5c
commit
6e4270286e
@ -50,6 +50,12 @@ void FillPlanePath::_fill_surface_single(
|
||||
// polylines = intersection_pl(polylines_src, offset((Polygons)expolygon, scale_(0.02)));
|
||||
polylines = intersection_pl(polylines, (Polygons)expolygon);
|
||||
|
||||
// Extend paths in order to ensure overlap with perimeters
|
||||
for (Polyline &p : polylines) {
|
||||
p.extend_start(this->endpoints_overlap);
|
||||
p.extend_end(this->endpoints_overlap);
|
||||
}
|
||||
|
||||
/*
|
||||
if (1) {
|
||||
require "Slic3r/SVG.pm";
|
||||
|
Loading…
x
Reference in New Issue
Block a user