From 559ca37d44fe46bbb56adbf70a9938fe2e8f16c3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Feb 2016 17:30:47 +0000 Subject: [PATCH] cable-splice-clamp: other half --- cable-splice-clamp.scad | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cable-splice-clamp.scad b/cable-splice-clamp.scad index fab44d4..709965a 100644 --- a/cable-splice-clamp.scad +++ b/cable-splice-clamp.scad @@ -63,7 +63,7 @@ basew = base_r * rnom; echo("dias", r0*2, r1*2, "ratio",r1/r0); -module CrossSection(plus=0) { +module CrossSectionHalf(plus=0) { difference(){ polygon([[-0.1, y_T_r * r0], [x_T_r * r0, y_T_r * r0], @@ -76,6 +76,13 @@ module CrossSection(plus=0) { } } +module CrossSection(plus=0) { + for (m=[0,1]) { + mirror([m,0]) + CrossSectionHalf(plus); + } +} + module CrossSectionDemo(){ ////toplevel color("black") CrossSection(2); CrossSection(); -- 2.30.2