mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-17 09:23:05 +00:00
* seteo inicial * version inicial * Update FillTpmsFK.cpp * marching squares * Multiline support * density adjusted * tuning cleaning * symplify points * optimization * smoothing * center offset contour * icon * bugfix 1 * reverse tbb scalar field bug fix * safety * Update Icon Co-Authored-By: yw4z <28517890+yw4z@users.noreply.github.com> * Update FillTpmsFK.cpp * delete allptpos --------- Co-authored-by: yw4z <28517890+yw4z@users.noreply.github.com> Co-authored-by: SoftFever <softfeverever@gmail.com>
40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
#ifndef slic3r_FillTpmsFK_hpp_
|
|
#define slic3r_FillTpmsFK_hpp_
|
|
|
|
#include <utility>
|
|
|
|
#include "libslic3r/libslic3r.h"
|
|
#include "FillBase.hpp"
|
|
#include "libslic3r/ExPolygon.hpp"
|
|
#include "libslic3r/Polyline.hpp"
|
|
|
|
namespace Slic3r {
|
|
class Point;
|
|
|
|
class FillTpmsFK : public Fill
|
|
{
|
|
public:
|
|
FillTpmsFK() {}
|
|
Fill* clone() const override { return new FillTpmsFK(*this); }
|
|
|
|
// require bridge flow since most of this pattern hangs in air
|
|
bool use_bridge_flow() const override { return false; }
|
|
|
|
|
|
// Correction applied to regular infill angle to maximize printing
|
|
// speed in default configuration (degrees)
|
|
static constexpr float CorrectionAngle = -45.;
|
|
|
|
void _fill_surface_single(const FillParams& params,
|
|
unsigned int thickness_layers,
|
|
const std::pair<float, Point>& direction,
|
|
ExPolygon expolygon,
|
|
Polylines& polylines_out) override;
|
|
|
|
bool is_self_crossing() override { return false; }
|
|
|
|
};
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // slic3r_FillTpmsFK_hpp_
|