mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 06:13:10 +02:00
added test hook
This commit is contained in:
@@ -26,6 +26,9 @@ module hull_polyline3d(points, thickness) {
|
|||||||
translate(point2)
|
translate(point2)
|
||||||
sphere(half_thickness);
|
sphere(half_thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// hook for testing
|
||||||
|
test_line_segment(index, point1, point2, half_thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
module polyline3d_inner(index) {
|
module polyline3d_inner(index) {
|
||||||
@@ -37,3 +40,8 @@ module hull_polyline3d(points, thickness) {
|
|||||||
|
|
||||||
polyline3d_inner(1);
|
polyline3d_inner(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// override it to test
|
||||||
|
module test_line_segment(index, point1, point2, radius) {
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user