WIP: Ironing over top surfaces.

This commit is contained in:
bubnikv 2020-04-14 11:53:28 +02:00
parent b578b7ec87
commit 10110ed307
19 changed files with 321 additions and 38 deletions

View file

@ -36,11 +36,6 @@ public:
// collection of surfaces for infill generation
SurfaceCollection fill_surfaces;
// Collection of perimeter surfaces. This is a cached result of diff(slices, fill_surfaces).
// While not necessary, the memory consumption is meager and it speeds up calculation.
// The perimeter_surfaces keep the IDs of the slices (top/bottom/)
SurfaceCollection perimeter_surfaces;
// collection of expolygons representing the bridged areas (thus not
// needing support material)
Polygons bridged;
@ -140,6 +135,7 @@ public:
}
void make_perimeters();
void make_fills();
void make_ironing();
void export_region_slices_to_svg(const char *path) const;
void export_region_fill_surfaces_to_svg(const char *path) const;