From e1774765de5eb6a4a4875c154ec280dcfb241e31 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Fri, 24 Jan 2020 14:41:15 +0800 Subject: [PATCH] rename --- src/polyline3d.scad | 4 ++-- test/test_polyline3d.scad | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/polyline3d.scad b/src/polyline3d.scad index 64699a6a..5ccbd78d 100644 --- a/src/polyline3d.scad +++ b/src/polyline3d.scad @@ -29,7 +29,7 @@ module polyline3d(points, thickness, startingStyle = "CAP_CIRCLE", endingStyle = p1Style = p1Style, p2Style = p2Style); // hook for testing - test_line3d_segment(index, p1, p2, thickness, p1Style, p2Style); + test_polyline3d_line3d_segment(index, p1, p2, thickness, p1Style, p2Style); } module polyline3d_inner(index) { @@ -43,6 +43,6 @@ module polyline3d(points, thickness, startingStyle = "CAP_CIRCLE", endingStyle = } // override it to test -module test_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { +module test_polyline3d_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { } \ No newline at end of file diff --git a/test/test_polyline3d.scad b/test/test_polyline3d.scad index 71c43f72..9960810e 100644 --- a/test/test_polyline3d.scad +++ b/test/test_polyline3d.scad @@ -63,7 +63,7 @@ module test_polyline3d() { include ; - module test_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { + module test_polyline3d_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { assertCorrectSegment( [points[index - 1], points[index]], @@ -89,7 +89,7 @@ module test_polyline3d() { include ; - module test_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { + module test_polyline3d_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { assertCorrectSegment( [points[index - 1], points[index]], @@ -116,7 +116,7 @@ module test_polyline3d() { include ; - module test_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { + module test_polyline3d_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { assertCorrectSegment( [points[index - 1], points[index]], @@ -154,7 +154,7 @@ module test_polyline3d() { include ; - module test_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { + module test_polyline3d_line3d_segment(index, point1, point2, thickness, p1Style, p2Style) { assertCorrectSegment( [points[index - 1], points[index]],