Mostly working, inefficiencies remain, status indication partly broken

This commit is contained in:
tamasmeszaros 2020-09-04 17:51:22 +02:00
parent 9f3e7617d8
commit 0d4c67b9a3
5 changed files with 264 additions and 124 deletions

View file

@ -4,9 +4,11 @@
#include <functional>
#include <array>
#include <libslic3r/Point.hpp>
namespace Slic3r {
class ModelObject;
class SLAPrintObject;
namespace sla {
@ -26,13 +28,16 @@ namespace sla {
* @return Returns the rotations around each axis (x, y, z)
*/
std::array<double, 2> find_best_rotation(
const ModelObject& modelobj,
const SLAPrintObject& modelobj,
float accuracy = 1.0f,
std::function<void(unsigned)> statuscb = [] (unsigned) {},
std::function<bool()> stopcond = [] () { return false; }
);
}
}
double get_model_supportedness(const SLAPrintObject &mesh,
const Transform3d & tr);
} // namespace sla
} // namespace Slic3r
#endif // SLAROTFINDER_HPP