Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2021-03-18 22:20:01 +0300
committertamasmeszaros <meszaros.q@gmail.com>2021-04-07 13:51:02 +0300
commit0194094afa1459629c8fa308500e57421c19603d (patch)
tree679c134dfb272330c8c8ea283eb155b44c975aeb /src/libslic3r/SLA/Rotfinder.hpp
parent4eb13a407f03fed8899436e9dd738fe636596270 (diff)
Method selection implemented
Diffstat (limited to 'src/libslic3r/SLA/Rotfinder.hpp')
-rw-r--r--src/libslic3r/SLA/Rotfinder.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libslic3r/SLA/Rotfinder.hpp b/src/libslic3r/SLA/Rotfinder.hpp
index 2b92c52b8..56884565f 100644
--- a/src/libslic3r/SLA/Rotfinder.hpp
+++ b/src/libslic3r/SLA/Rotfinder.hpp
@@ -9,9 +9,12 @@
namespace Slic3r {
class SLAPrintObject;
+class TriangleMesh;
namespace sla {
+using RotOptimizeStatusCB = std::function<bool(int)>;
+
/**
* The function should find the best rotation for SLA upside down printing.
*
@@ -28,14 +31,13 @@ namespace sla {
*
* @return Returns the rotations around each axis (x, y, z)
*/
-Vec2d find_best_rotation(
+Vec2d find_best_misalignment_rotation(
const SLAPrintObject& modelobj,
float accuracy = 1.0f,
- std::function<bool(int)> statuscb = [] (int) { return true; }
+ RotOptimizeStatusCB statuscb = [] (int) { return true; }
);
-double get_model_supportedness(const SLAPrintObject &mesh,
- const Transform3f & tr);
+
} // namespace sla
} // namespace Slic3r