2016-04-11 15:08:30 +00:00
|
|
|
#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
|
2016-04-11 15:08:30 +00:00
|
|
|
{
|
|
|
|
public:
|
2016-11-30 18:47:45 +00:00
|
|
|
virtual Fill* clone() const { return new Fill3DHoneycomb(*this); };
|
2016-04-11 15:08:30 +00:00
|
|
|
virtual ~Fill3DHoneycomb() {}
|
2016-09-13 09:26:38 +00:00
|
|
|
|
2016-04-11 15:08:30 +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 ¶ms,
|
|
|
|
unsigned int thickness_layers,
|
|
|
|
const std::pair<float, Point> &direction,
|
|
|
|
ExPolygon &expolygon,
|
|
|
|
Polylines &polylines_out);
|
2016-04-11 15:08:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Slic3r
|
|
|
|
|
|
|
|
#endif // slic3r_Fill3DHoneycomb_hpp_
|