mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-25 07:31:20 +02:00
rename
This commit is contained in:
@@ -24,7 +24,7 @@ module hull_polyline3d(points, thickness) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hook for testing
|
// hook for testing
|
||||||
test_line_segment(index, point1, point2, half_thickness);
|
test_hull_polyline3d_line_segment(index, point1, point2, half_thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
module polyline3d_inner(index) {
|
module polyline3d_inner(index) {
|
||||||
@@ -38,6 +38,6 @@ module hull_polyline3d(points, thickness) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// override it to test
|
// override it to test
|
||||||
module test_line_segment(index, point1, point2, radius) {
|
module test_hull_polyline3d_line_segment(index, point1, point2, radius) {
|
||||||
|
|
||||||
}
|
}
|
@@ -14,7 +14,7 @@ module test_hull_polyline3d() {
|
|||||||
|
|
||||||
include <hull_polyline3d.scad>;
|
include <hull_polyline3d.scad>;
|
||||||
|
|
||||||
module test_line_segment(index, point1, point2, radius) {
|
module test_hull_polyline3d_line_segment(index, point1, point2, radius) {
|
||||||
assertEqualPoint(points[index - 1], point1);
|
assertEqualPoint(points[index - 1], point1);
|
||||||
assertEqualPoint(points[index], point2);
|
assertEqualPoint(points[index], point2);
|
||||||
assertEqualNum(thickness, radius * 2);
|
assertEqualNum(thickness, radius * 2);
|
||||||
@@ -44,7 +44,7 @@ module test_hull_polyline3d_helix() {
|
|||||||
|
|
||||||
include <hull_polyline3d.scad>;
|
include <hull_polyline3d.scad>;
|
||||||
|
|
||||||
module test_line_segment(index, point1, point2, radius) {
|
module test_hull_polyline3d_line_segment(index, point1, point2, radius) {
|
||||||
assertEqualPoint(points[index - 1], point1);
|
assertEqualPoint(points[index - 1], point1);
|
||||||
assertEqualPoint(points[index], point2);
|
assertEqualPoint(points[index], point2);
|
||||||
assertEqualNum(thickness, radius * 2);
|
assertEqualNum(thickness, radius * 2);
|
||||||
|
Reference in New Issue
Block a user