Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-11-03 12:24:32 +0300
committerbubnikv <bubnikv@gmail.com>2016-11-03 12:24:32 +0300
commit7b6b609df146da7a829cdad935029f162a817839 (patch)
tree0ef159e9bba879b913b2ccc1148016e4ebc719f0 /xs/src/libslic3r/PerimeterGenerator.cpp
parent12b7818caa436d6c84f8be0e5ec6273ff37ec128 (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.cpp4
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());
}
}