mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
SLA automatic support points: Added cancellation points.
This commit is contained in:
parent
18beb10ae0
commit
0a3758d785
3 changed files with 21 additions and 4 deletions
|
@ -17,7 +17,8 @@ public:
|
|||
float minimal_z;
|
||||
};
|
||||
|
||||
SLAAutoSupports(const TriangleMesh& mesh, const sla::EigenMesh3D& emesh, const std::vector<ExPolygons>& slices, const std::vector<float>& heights, const Config& config);
|
||||
SLAAutoSupports(const TriangleMesh& mesh, const sla::EigenMesh3D& emesh, const std::vector<ExPolygons>& slices,
|
||||
const std::vector<float>& heights, const Config& config, std::function<void(void)> throw_on_cancel);
|
||||
const std::vector<Vec3d>& output() { return m_output; }
|
||||
|
||||
private:
|
||||
|
@ -38,6 +39,7 @@ private:
|
|||
#endif /* SLA_AUTOSUPPORTS_DEBUG */
|
||||
|
||||
SLAAutoSupports::Config m_config;
|
||||
std::function<void(void)> m_throw_on_cancel;
|
||||
const Eigen::MatrixXd& m_V;
|
||||
const Eigen::MatrixXi& m_F;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue