mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 13:17:54 -06:00
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:
parent
308f601a99
commit
d146a0237e
12 changed files with 376 additions and 259 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue