31 lines
772 B
C++
31 lines
772 B
C++
#ifndef slic3r_FillGyroid_hpp_
|
|
#define slic3r_FillGyroid_hpp_
|
|
|
|
#include "../libslic3r.h"
|
|
|
|
#include "FillBase.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
class FillGyroid : public Fill
|
|
{
|
|
public:
|
|
FillGyroid() {}
|
|
virtual Fill* clone() const { return new FillGyroid(*this); }
|
|
|
|
// require bridge flow since most of this pattern hangs in air
|
|
virtual bool use_bridge_flow() const { return false; }
|
|
|
|
protected:
|
|
virtual void _fill_surface_single(
|
|
const FillParams ¶ms,
|
|
unsigned int thickness_layers,
|
|
const std::pair<float, Point> &direction,
|
|
ExPolygon &expolygon,
|
|
Polylines &polylines_out);
|
|
};
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // slic3r_FillGyroid_hpp_
|