From d5f27902ed37e7a94c62c3f287fb1c0b4792cbec Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 29 May 2017 18:15:11 +0800 Subject: [PATCH] added test hook --- src/hexagons.scad | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hexagons.scad b/src/hexagons.scad index 92859fc7..911e0c0b 100644 --- a/src/hexagons.scad +++ b/src/hexagons.scad @@ -35,6 +35,8 @@ module hexagons(radius, spacing, levels) { translate(p) 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) { line_hexagons(hex_datum); } +} + +// override it to test +module test_each_hexagon(hex_r, pt) { + } \ No newline at end of file