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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-07-16 12:49:30 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-08-03 20:05:30 +0300
commit927b81ea9710266e2effb050ca27cb8762239870 (patch)
tree8f4b62200ff4c2ab53ffc769eef4bea8dbe63f79 /tests
parent8cb115a03543f0d09c9e113ab8e42cf9eb39a694 (diff)
Working small-to-normal support merging
Fixed fatal bug with anchors for mini supports Make the optimization cleaner in support generatior Much better widening behaviour Add an optimizer interface and the NLopt implementation into libslic3r New optimizer based only on nlopt C interfase Fix build and tests
Diffstat (limited to 'tests')
-rw-r--r--tests/sla_print/sla_print_tests.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/sla_print/sla_print_tests.cpp b/tests/sla_print/sla_print_tests.cpp
index 9a9c762e3..dad2b9097 100644
--- a/tests/sla_print/sla_print_tests.cpp
+++ b/tests/sla_print/sla_print_tests.cpp
@@ -4,6 +4,8 @@
#include "sla_test_utils.hpp"
+#include <libslic3r/SLA/SupportTreeMesher.hpp>
+
namespace {
const char *const BELOW_PAD_TEST_OBJECTS[] = {
@@ -228,3 +230,12 @@ TEST_CASE("Triangle mesh conversions should be correct", "[SLAConversions]")
cntr.from_obj(infile);
}
}
+
+TEST_CASE("halfcone test", "[halfcone]") {
+ sla::DiffBridge br{Vec3d{1., 1., 1.}, Vec3d{10., 10., 10.}, 0.25, 0.5};
+
+ TriangleMesh m = sla::to_triangle_mesh(sla::get_mesh(br, 45));
+
+ m.require_shared_vertices();
+ m.WriteOBJFile("Halfcone.obj");
+}