From 75712956c4e35acf7109039897cf3d7e11415b65 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 15 Jun 2017 10:37:42 +0800 Subject: [PATCH] added test hook --- src/polysections.scad | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/polysections.scad b/src/polysections.scad index 93528912..3c0f439a 100644 --- a/src/polysections.scad +++ b/src/polysections.scad @@ -179,16 +179,23 @@ module polysections(sections, triangles = "SOLID") { polyhedron( v_pts, f_idxes - ); + ); + + // hook for testing + test_polysections_solid(v_pts, f_idxes); } else { first_idxes = first_idxes(); last_idxes = last_idxes(half_leng_v_pts - half_leng_sect); f_idxes = concat(first_idxes, outer_idxes, inner_idxes, last_idxes); + polyhedron( v_pts, f_idxes ); + + // hook for testing + test_polysections_solid(v_pts, f_idxes); } }