Removed FillRectilinear3, it was a dead end.
This commit is contained in:
parent
cfbc9f0845
commit
502aa42ac0
@ -62,8 +62,6 @@ add_library(libslic3r STATIC
|
|||||||
Fill/FillRectilinear.hpp
|
Fill/FillRectilinear.hpp
|
||||||
Fill/FillRectilinear2.cpp
|
Fill/FillRectilinear2.cpp
|
||||||
Fill/FillRectilinear2.hpp
|
Fill/FillRectilinear2.hpp
|
||||||
Fill/FillRectilinear3.cpp
|
|
||||||
Fill/FillRectilinear3.hpp
|
|
||||||
Flow.cpp
|
Flow.cpp
|
||||||
Flow.hpp
|
Flow.hpp
|
||||||
format.hpp
|
format.hpp
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include "FillPlanePath.hpp"
|
#include "FillPlanePath.hpp"
|
||||||
#include "FillRectilinear.hpp"
|
#include "FillRectilinear.hpp"
|
||||||
#include "FillRectilinear2.hpp"
|
#include "FillRectilinear2.hpp"
|
||||||
#include "FillRectilinear3.hpp"
|
|
||||||
#include "FillAdaptive.hpp"
|
#include "FillAdaptive.hpp"
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,83 +0,0 @@
|
|||||||
#ifndef slic3r_FillRectilinear3_hpp_
|
|
||||||
#define slic3r_FillRectilinear3_hpp_
|
|
||||||
|
|
||||||
#include "../libslic3r.h"
|
|
||||||
|
|
||||||
#include "FillBase.hpp"
|
|
||||||
|
|
||||||
namespace Slic3r {
|
|
||||||
|
|
||||||
class Surface;
|
|
||||||
|
|
||||||
class FillRectilinear3 : public Fill
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual Fill* clone() const { return new FillRectilinear3(*this); };
|
|
||||||
virtual ~FillRectilinear3() {}
|
|
||||||
virtual Polylines fill_surface(const Surface *surface, const FillParams ¶ms);
|
|
||||||
|
|
||||||
struct FillDirParams
|
|
||||||
{
|
|
||||||
FillDirParams(coordf_t spacing, double angle, coordf_t pattern_shift = 0.f) :
|
|
||||||
spacing(spacing), angle(angle), pattern_shift(pattern_shift) {}
|
|
||||||
coordf_t spacing;
|
|
||||||
double angle;
|
|
||||||
coordf_t pattern_shift;
|
|
||||||
};
|
|
||||||
|
|
||||||
protected:
|
|
||||||
bool fill_surface_by_lines(const Surface *surface, const FillParams ¶ms, std::vector<FillDirParams> &fill_dir_params, Polylines &polylines_out);
|
|
||||||
};
|
|
||||||
|
|
||||||
class FillGrid3 : public FillRectilinear3
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual Fill* clone() const { return new FillGrid3(*this); };
|
|
||||||
virtual ~FillGrid3() {}
|
|
||||||
virtual Polylines fill_surface(const Surface *surface, const FillParams ¶ms);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// The grid fill will keep the angle constant between the layers, see the implementation of Slic3r::Fill.
|
|
||||||
virtual float _layer_angle(size_t /* idx */) const { return 0.f; }
|
|
||||||
};
|
|
||||||
|
|
||||||
class FillTriangles3 : public FillRectilinear3
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual Fill* clone() const { return new FillTriangles3(*this); };
|
|
||||||
virtual ~FillTriangles3() {}
|
|
||||||
virtual Polylines fill_surface(const Surface *surface, const FillParams ¶ms);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// The grid fill will keep the angle constant between the layers, see the implementation of Slic3r::Fill.
|
|
||||||
virtual float _layer_angle(size_t /* idx */) const { return 0.f; }
|
|
||||||
};
|
|
||||||
|
|
||||||
class FillStars3 : public FillRectilinear3
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual Fill* clone() const { return new FillStars3(*this); };
|
|
||||||
virtual ~FillStars3() {}
|
|
||||||
virtual Polylines fill_surface(const Surface *surface, const FillParams ¶ms);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// The grid fill will keep the angle constant between the layers, see the implementation of Slic3r::Fill.
|
|
||||||
virtual float _layer_angle(size_t /* idx */) const { return 0.f; }
|
|
||||||
};
|
|
||||||
|
|
||||||
class FillCubic3 : public FillRectilinear3
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
virtual Fill* clone() const { return new FillCubic3(*this); };
|
|
||||||
virtual ~FillCubic3() {}
|
|
||||||
virtual Polylines fill_surface(const Surface *surface, const FillParams ¶ms);
|
|
||||||
|
|
||||||
protected:
|
|
||||||
// The grid fill will keep the angle constant between the layers, see the implementation of Slic3r::Fill.
|
|
||||||
virtual float _layer_angle(size_t /* idx */) const { return 0.f; }
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
}; // namespace Slic3r
|
|
||||||
|
|
||||||
#endif // slic3r_FillRectilinear3_hpp_
|
|
Loading…
Reference in New Issue
Block a user