WIP: Reworked the infill generator to merge areas with the same

properties.

Note for Vojtech:
Review src/libslic3r/Fill/Fill.cpp once again,
add test for G-code generator properties (extrusion speed, cooling?)

Fixes Modifier slice/move efficiency #1005
This commit is contained in:
bubnikv 2019-09-04 16:11:16 +02:00
parent 308f601a99
commit d146a0237e
12 changed files with 376 additions and 259 deletions

View file

@ -37,6 +37,7 @@ public:
void clear() { surfaces.clear(); }
bool empty() const { return surfaces.empty(); }
size_t size() const { return surfaces.size(); }
bool has(SurfaceType type) const {
for (const Surface &surface : this->surfaces)
if (surface.surface_type == type) return true;