Fills were reimplemented in C++.

While reimplementing the FillPlanePath code, the octagon infill was fixed to extrude the right amount of material.
This commit is contained in:
bubnikv
2016-04-11 17:08:30 +02:00
parent 7da68c91a5
commit be3e4caf1d
12 changed files with 1162 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#ifndef slic3r_Fill3DHoneycomb_hpp_
#define slic3r_Fill3DHoneycomb_hpp_
#include <map>
#include "../libslic3r.h"
#include "FillBase.hpp"
namespace Slic3r {
class Fill3DHoneycomb : public FillWithDirection
{
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; }
};
} // namespace Slic3r
#endif // slic3r_Fill3DHoneycomb_hpp_