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
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2018-11-19 14:51:02 +0300
committertamasmeszaros <meszaros.q@gmail.com>2018-11-19 14:51:02 +0300
commitfd5841dd2e2c743c97ca0e87823ad2a700cb8070 (patch)
tree64f4231ff6f182a63faefd7d2a564d18a56b711e /sandboxes
parenteb4d1e9d5e41edf245fe63aa659d5a6297f44a58 (diff)
Cleanup: removing obsolete methods from support tree generation interface
Diffstat (limited to 'sandboxes')
-rw-r--r--sandboxes/CMakeLists.txt1
-rw-r--r--sandboxes/slasupporttree/CMakeLists.txt2
-rw-r--r--sandboxes/slasupporttree/slasupporttree.cpp48
3 files changed, 0 insertions, 51 deletions
diff --git a/sandboxes/CMakeLists.txt b/sandboxes/CMakeLists.txt
index 5905c438e..0e1f52d6c 100644
--- a/sandboxes/CMakeLists.txt
+++ b/sandboxes/CMakeLists.txt
@@ -1,2 +1 @@
add_subdirectory(slabasebed)
-add_subdirectory(slasupporttree)
diff --git a/sandboxes/slasupporttree/CMakeLists.txt b/sandboxes/slasupporttree/CMakeLists.txt
deleted file mode 100644
index a3323a83d..000000000
--- a/sandboxes/slasupporttree/CMakeLists.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-add_executable(slasupporttree EXCLUDE_FROM_ALL slasupporttree.cpp)
-target_link_libraries(slasupporttree libslic3r) \ No newline at end of file
diff --git a/sandboxes/slasupporttree/slasupporttree.cpp b/sandboxes/slasupporttree/slasupporttree.cpp
deleted file mode 100644
index 0cfc60f7a..000000000
--- a/sandboxes/slasupporttree/slasupporttree.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-#include <iostream>
-#include <string>
-
-#include <libslic3r.h>
-#include "TriangleMesh.hpp"
-#include "Model.hpp"
-#include "callback.hpp"
-#include "SLA/SLASupportTree.hpp"
-#include "benchmark.h"
-
-const std::string USAGE_STR = {
- "Usage: slasupporttree stlfilename.stl"
-};
-
-void confess_at(const char * /*file*/,
- int /*line*/,
- const char * /*func*/,
- const char * /*pat*/,
- ...) {}
-
-namespace Slic3r {
-
-void PerlCallback::deregister_callback() {}
-}
-
-int main(const int argc, const char *argv[]) {
- using namespace Slic3r;
- using std::cout; using std::endl;
-
- if(argc < 2) {
- cout << USAGE_STR << endl;
- return EXIT_SUCCESS;
- }
-
- Benchmark bench;
- TriangleMesh result;
-
- bench.start();
- sla::create_head(result, 3, 1, 4);
- bench.stop();
-
- cout << "Support tree creation time: " << std::setprecision(10)
- << bench.getElapsedSec() << " seconds." << endl;
-
- result.write_ascii("out.stl");
-
- return EXIT_SUCCESS;
-}