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]],