mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 04:25:57 +08:00
No necessary changes return back
This commit is contained in:
parent
5af87d285b
commit
be42c506fb
@ -9,7 +9,7 @@
|
|||||||
#include <libslic3r/VoronoiOffset.hpp>
|
#include <libslic3r/VoronoiOffset.hpp>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|
||||||
#define VORONOI_DEBUG_OUT
|
// #define VORONOI_DEBUG_OUT
|
||||||
|
|
||||||
#ifdef VORONOI_DEBUG_OUT
|
#ifdef VORONOI_DEBUG_OUT
|
||||||
#include <libslic3r/VoronoiVisualUtils.hpp>
|
#include <libslic3r/VoronoiVisualUtils.hpp>
|
||||||
|
@ -41,7 +41,9 @@ TEST_CASE("Pillar pairhash should be unique", "[SLASupportGeneration]") {
|
|||||||
TEST_CASE("Support point generator should be deterministic if seeded",
|
TEST_CASE("Support point generator should be deterministic if seeded",
|
||||||
"[SLASupportGeneration], [SLAPointGen]") {
|
"[SLASupportGeneration], [SLAPointGen]") {
|
||||||
TriangleMesh mesh = load_model("A_upsidedown.obj");
|
TriangleMesh mesh = load_model("A_upsidedown.obj");
|
||||||
|
|
||||||
sla::IndexedMesh emesh{mesh};
|
sla::IndexedMesh emesh{mesh};
|
||||||
|
|
||||||
sla::SupportTreeConfig supportcfg;
|
sla::SupportTreeConfig supportcfg;
|
||||||
sla::SupportPointGenerator::Config autogencfg;
|
sla::SupportPointGenerator::Config autogencfg;
|
||||||
autogencfg.head_diameter = float(2 * supportcfg.head_front_radius_mm);
|
autogencfg.head_diameter = float(2 * supportcfg.head_front_radius_mm);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user