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

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-11-20 20:17:12 +0300
committerFormerLurker <hochgebe@gmail.com>2020-11-20 20:17:12 +0300
commit995ec6d5b35cf8ae23dabb74065fdafdcc843740 (patch)
tree83b947814b49f057625fd11ff23c9d6c82654977 /ArcWelderTest
parent0f57a03f82a555a9b6d3afdfb133457c72455d54 (diff)
Add test spiral vase support.
Diffstat (limited to 'ArcWelderTest')
-rw-r--r--ArcWelderTest/ArcWelderTest.cpp10
-rw-r--r--ArcWelderTest/ArcWelderTest.h5
2 files changed, 11 insertions, 4 deletions
diff --git a/ArcWelderTest/ArcWelderTest.cpp b/ArcWelderTest/ArcWelderTest.cpp
index f86894f..abd51c7 100644
--- a/ArcWelderTest/ArcWelderTest.cpp
+++ b/ArcWelderTest/ArcWelderTest.cpp
@@ -233,8 +233,8 @@ static gcode_position_args get_5_extruder_position_args()
static void TestAntiStutter(std::string filePath)
{
- double max_resolution = DEFAULT_RESOLUTION_MM;
- //double max_resolution = 0.0125;
+ //double max_resolution = DEFAULT_RESOLUTION_MM;
+ double max_resolution = 1;
double max_radius_mm = DEFAULT_MAX_RADIUS_MM;
double path_tolerance_percent = ARC_LENGTH_PERCENT_TOLERANCE_DEFAULT; // 1 percent
//double path_tolerance_percent = 0.05;
@@ -248,13 +248,14 @@ static void TestAntiStutter(std::string filePath)
//arc_welder arc_welder_obj(BENCHY_0_5_MM_NO_WIPE, "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\test_output.gcode", p_logger, max_resolution, false, 50, static_cast<progress_callback>(on_progress));
//arc_welder arc_welder_obj(SIX_SPEED_TEST, "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\test_output.gcode", p_logger, max_resolution, false, 50, on_progress);
arc_welder arc_welder_obj(
- BARBARIAN,
+ SPIRAL_VASE_TEST_CYLINDER,
"C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\test_output.gcode",
p_logger,
max_resolution,
path_tolerance_percent,
max_radius_mm,
- false,
+ false,
+ true,
DEFAULT_GCODE_BUFFER_SIZE,
on_progress);
//BENCHY_DIFFICULT
@@ -277,6 +278,7 @@ static void TestAntiStutter(std::string filePath)
//BARBARIAN
// BENCHY_L1_DIFFICULT
// SPIRAL_TEST
+ // SPIRAL_VASE_TEST_FUNNEL
arc_welder_results results = arc_welder_obj.process();
p_logger->log(0, INFO, results.progress.detail_str());
p_logger->log(0, INFO, "Processing Complete.");
diff --git a/ArcWelderTest/ArcWelderTest.h b/ArcWelderTest/ArcWelderTest.h
index 7fb75c1..6345761 100644
--- a/ArcWelderTest/ArcWelderTest.h
+++ b/ArcWelderTest/ArcWelderTest.h
@@ -81,3 +81,8 @@ static std::string COLINEAR_TEST_1 = "C:\\Users\\Brad\\Documents\\AntiStutter\\S
static std::string SPIRAL_TEST = "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\smoothietest\\SPIRAL_TEST.gcode";
static std::string SPIRAL_TEST_PRECISION = "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\smoothietest\\SPIRAL_TEST_precision.gcode";
+static std::string SPIRAL_VASE_TEST_DOUBLE_SPIRAL = "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\SpiralVaseTest\\SpiralVaseTest_DOUBLE_SPIRAL.gcode";
+static std::string SPIRAL_VASE_TEST_CYLINDER = "C:\\Users\\Brad\\Documents\\3DPrinter\\AntiStutter\\SpiralVaseTest\\SpiralVaseTest_Cylinder.gcode";
+
+
+