Implemented clipping of parts of multi-part objects in the order

they are presented in the UI.

Parallelized the slice stealing when splitting regions with modifier meshes.

Rewrote Layer::make_perimeters() to C++11 loops.
This commit is contained in:
bubnikv 2019-03-06 10:21:10 +01:00
parent c1a24d2fbb
commit e399cf6d3d
3 changed files with 177 additions and 51 deletions

View file

@ -203,6 +203,7 @@ private:
std::vector<ExPolygons> _slice_region(size_t region_id, const std::vector<float> &z, bool modifier);
std::vector<ExPolygons> _slice_volumes(const std::vector<float> &z, const std::vector<const ModelVolume*> &volumes) const;
std::vector<ExPolygons> _slice_volume(const std::vector<float> &z, const ModelVolume &volume) const;
};
struct WipeTowerData