Updates in the C++ infill code.

This commit is contained in:
bubnikv
2016-09-13 11:26:38 +02:00
parent b2a6f43923
commit a5b7f14dfa
14 changed files with 645 additions and 305 deletions

View File

@@ -9,14 +9,21 @@
namespace Slic3r {
class Fill3DHoneycomb : public FillWithDirection
class Fill3DHoneycomb : public Fill
{
public:
virtual ~Fill3DHoneycomb() {}
virtual Polylines fill_surface(const Surface *surface, const FillParams &params);
// require bridge flow since most of this pattern hangs in air
virtual bool use_bridge_flow() const { return true; }
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