PrusaSlicer-NonPlainar/src/libslic3r/Fill/Fill3DHoneycomb.hpp

33 lines
806 B
C++
Raw Normal View History

#ifndef slic3r_Fill3DHoneycomb_hpp_
#define slic3r_Fill3DHoneycomb_hpp_
#include <map>
#include "../libslic3r.h"
#include "FillBase.hpp"
namespace Slic3r {
2016-09-13 09:26:38 +00:00
class Fill3DHoneycomb : public Fill
{
public:
2016-11-30 18:47:45 +00:00
virtual Fill* clone() const { return new Fill3DHoneycomb(*this); };
virtual ~Fill3DHoneycomb() {}
2016-09-13 09:26:38 +00:00
// require bridge flow since most of this pattern hangs in air
virtual bool use_bridge_flow() const { return true; }
2016-09-13 09:26:38 +00:00
protected:
virtual void _fill_surface_single(
const FillParams &params,
unsigned int thickness_layers,
const std::pair<float, Point> &direction,
ExPolygon &expolygon,
Polylines &polylines_out);
};
} // namespace Slic3r
#endif // slic3r_Fill3DHoneycomb_hpp_