From bc716b3ec0631e4e76f246923842b76a85641e64 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Fri, 30 Jun 2017 13:21:47 +0800 Subject: [PATCH] added test hook --- src/ring_extrude.scad | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/ring_extrude.scad b/src/ring_extrude.scad index 59c098d7..c86c0721 100644 --- a/src/ring_extrude.scad +++ b/src/ring_extrude.scad @@ -54,10 +54,19 @@ module ring_extrude(shape_pts, radius, angle = 360, twist = 0, scale = 1.0, tria pts : concat(pts, [__ra_to_xy(end_r, angles[1])]); + sections = cross_sections(shape_pts, all_points, all_angles, twist, scale); + polysections( - cross_sections(shape_pts, all_points, all_angles, twist, scale), + sections, triangles = triangles ); + + // hook for testing + test_ring_extrude(sections); } - +} + +// Override it to test +module test_ring_extrude(sections) { + } \ No newline at end of file