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