Add new branching tree algorithm

This commit is contained in:
tamasmeszaros 2022-05-09 16:38:30 +02:00
parent b1317be78a
commit 8723e421b3
9 changed files with 942 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#include "libslic3r/TriangleMeshSlicer.hpp"
#include "libslic3r/SLA/AGGRaster.hpp"
#include "libslic3r/SLA/DefaultSupportTree.hpp"
#include "libslic3r/SLA/BranchingTreeSLA.hpp"
#include <iomanip>
@ -160,6 +161,11 @@ void test_supports(const std::string &obj_filename,
check_support_tree_integrity(treebuilder, supportcfg, sla::ground_level(sm));
break;
}
case sla::SupportTreeType::Branching: {
create_branching_tree(treebuilder, sm);
// TODO: check_support_tree_integrity(treebuilder, supportcfg);
break;
}
default:;
}