Generating polylines from octree

This commit is contained in:
Lukáš Hejl 2020-08-26 22:18:51 +02:00
parent 3ac16d9c9c
commit eaaff4e707
2 changed files with 64 additions and 0 deletions

View file

@ -33,6 +33,11 @@ namespace FillAdaptive_Internal
};
}; // namespace FillAdaptive_Internal
//
// Some of the algorithms used by class FillAdaptive were inspired by
// Cura Engine's class SubDivCube
// https://github.com/Ultimaker/CuraEngine/blob/master/src/infill/SubDivCube.h
//
class FillAdaptive : public Fill
{
public:
@ -49,6 +54,8 @@ protected:
virtual bool no_sort() const { return true; }
void generate_polylines(FillAdaptive_Internal::Cube *cube, double z_position, const Vec3d &origin, Polylines &polylines_out);
public:
static FillAdaptive_Internal::Octree* build_octree(
TriangleMesh &triangleMesh,