mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Generating polylines from octree
This commit is contained in:
parent
3ac16d9c9c
commit
eaaff4e707
2 changed files with 64 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue