SLA base pool generation framework

This commit is contained in:
tamasmeszaros
2018-08-09 18:11:23 +02:00
parent 5164bec8ce
commit e8616b6a35
3 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifndef SLASUPPORTPOOL_HPP
#define SLASUPPORTPOOL_HPP
#include <vector>
namespace Slic3r {
class ExPolygon;
class TriangleMesh;
namespace sla {
using Mesh3D = TriangleMesh;
using GroundLayer = std::vector<ExPolygon>;
/// Calculate the polygon representing the slice of the lowest layer of mesh
void ground_layer(const Mesh3D& mesh, GroundLayer& output);
/// Calculate the pool for the mesh for SLA printing
void create_base_pool(const GroundLayer& ground_layer, Mesh3D& output_mesh);
}
}
#endif // SLASUPPORTPOOL_HPP