Wiping into infill - no infills are now inadvertedly printed twice (hopefully)

This commit is contained in:
Lukas Matena 2018-06-01 15:38:49 +02:00
parent 2d24bf5f73
commit bdaa1cbdfd
3 changed files with 25 additions and 9 deletions

View file

@ -215,9 +215,10 @@ protected:
struct Region {
ExtrusionEntityCollection perimeters;
ExtrusionEntityCollection infills;
std::vector<std::vector<unsigned int>> infills_per_copy_ids; // indices of infill.entities that are not part of infill wiping (an element for each object copy)
};
std::vector<Region> by_region;
std::vector<Region> by_region_special(unsigned int copy) const;
std::vector<Region> by_region_per_copy(unsigned int copy) const; // returns only extrusions that are NOT printed during wiping into infill for this copy
};
std::vector<Island> islands;
};