30 lines
675 B
C++
30 lines
675 B
C++
|
#ifndef slic3r_FillCrossHatch_hpp_
|
||
|
#define slic3r_FillCrossHatch_hpp_
|
||
|
|
||
|
#include <map>
|
||
|
|
||
|
#include "../libslic3r.h"
|
||
|
|
||
|
#include "FillBase.hpp"
|
||
|
|
||
|
namespace Slic3r {
|
||
|
|
||
|
class FillCrossHatch : public Fill
|
||
|
{
|
||
|
public:
|
||
|
Fill *clone() const override { return new FillCrossHatch(*this); };
|
||
|
~FillCrossHatch() override {}
|
||
|
|
||
|
protected:
|
||
|
void _fill_surface_single(
|
||
|
const FillParams ¶ms,
|
||
|
unsigned int thickness_layers,
|
||
|
const std::pair<float, Point> &direction,
|
||
|
ExPolygon expolygon,
|
||
|
Polylines &polylines_out) override;
|
||
|
};
|
||
|
|
||
|
} // namespace Slic3r
|
||
|
|
||
|
#endif // slic3r_FillCrossHatch_hpp_
|