mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 09:44:16 +02:00
added test hook
This commit is contained in:
@@ -35,6 +35,8 @@ module hexagons(radius, spacing, levels) {
|
|||||||
translate(p)
|
translate(p)
|
||||||
hexagon();
|
hexagon();
|
||||||
|
|
||||||
|
// hook for testing
|
||||||
|
test_each_hexagon(r_hexagon, p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,4 +65,9 @@ module hexagons(radius, spacing, levels) {
|
|||||||
for(hex_datum = total_hex_data) {
|
for(hex_datum = total_hex_data) {
|
||||||
line_hexagons(hex_datum);
|
line_hexagons(hex_datum);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// override it to test
|
||||||
|
module test_each_hexagon(hex_r, pt) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user