diff options
author | bubnikv <bubnikv@gmail.com> | 2016-11-03 12:24:32 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-11-03 12:24:32 +0300 |
commit | 7b6b609df146da7a829cdad935029f162a817839 (patch) | |
tree | 0ef159e9bba879b913b2ccc1148016e4ebc719f0 /xs/src/libslic3r/PerimeterGenerator.cpp | |
parent | 12b7818caa436d6c84f8be0e5ec6273ff37ec128 (diff) |
ExtrusionEntity and derived classes: Documented, short methods made
inline for efficiency and readability, grow() renamed to polygons_covered().
Diffstat (limited to 'xs/src/libslic3r/PerimeterGenerator.cpp')
-rw-r--r-- | xs/src/libslic3r/PerimeterGenerator.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xs/src/libslic3r/PerimeterGenerator.cpp b/xs/src/libslic3r/PerimeterGenerator.cpp index e34cd87ba..b4c841124 100644 --- a/xs/src/libslic3r/PerimeterGenerator.cpp +++ b/xs/src/libslic3r/PerimeterGenerator.cpp @@ -281,7 +281,9 @@ PerimeterGenerator::process() are not subtracted from fill surfaces (they might be too short gaps that medial axis skips but infill might join with other infill regions and use zigzag). */ - last = diff(last, gap_fill.grow()); + //FIXME Vojtech: This grows by a rounded extrusion width, not by line spacing, + // therefore it may cover the area, but no the volume. + last = diff(last, gap_fill.polygons_covered()); } } |