Add opencsg demo sandbox

This commit is contained in:
tamasmeszaros 2019-12-16 11:02:54 +01:00
parent 9a0a4a5327
commit 66759e10e3
8 changed files with 1176 additions and 2 deletions

View file

@ -3,6 +3,7 @@
#include <memory>
#include <libslic3r/SLA/Common.hpp>
#include <libslic3r/SLA/Contour3D.hpp>
#include <libslic3r/SLA/JobController.hpp>
namespace Slic3r {
@ -42,6 +43,8 @@ struct DrainHole
bool get_intersections(const Vec3f& s, const Vec3f& dir,
std::array<std::pair<float, Vec3d>, 2>& out) const;
Contour3D to_mesh() const;
template<class Archive> inline void serialize(Archive &ar)
{
ar(pos, normal, radius, height);