Working curve approximation of the concave hull with clipper offset.

This commit is contained in:
tamasmeszaros 2018-08-16 17:47:05 +02:00
parent fbe415f88e
commit f297da0d01
8 changed files with 243 additions and 694 deletions

View file

@ -15,11 +15,14 @@ using ExPolygons = std::vector<ExPolygon>;
/// Calculate the polygon representing the slice of the lowest layer of mesh
void ground_layer(const TriangleMesh& mesh,
ExPolygons& output,
float height = .1f);
float height = 0.1f);
/// Calculate the pool for the mesh for SLA printing
void create_base_pool(const ExPolygons& ground_layer,
TriangleMesh& output_mesh);
TriangleMesh& output_mesh,
double min_wall_thickness_mm = 4,
double min_wall_height_mm = 5
);
}