SLA supports - first attempt at supporting islands

This commit is contained in:
Lukas Matena 2018-12-14 16:15:59 +01:00
parent 6cc8ae3729
commit 27ad859d4d
6 changed files with 152 additions and 34 deletions

View file

@ -18,7 +18,6 @@ enum SLAPrintStep : unsigned int {
enum SLAPrintObjectStep : unsigned int {
slaposObjectSlice,
slaposSupportIslands,
slaposSupportPoints,
slaposSupportTree,
slaposBasePool,
@ -226,6 +225,8 @@ private:
lref(std::cref(lyr)), copies(std::cref(cp)) {}
};
std::vector<float> calculate_heights(const BoundingBoxf3& bb, float elevation, float initial_layer_height, float layer_height) const;
// One level may contain multiple slices from multiple objects and their
// supports
using LayerRefs = std::vector<LayerRef>;