From: Ian Jackson Date: Sat, 13 Feb 2016 17:30:47 +0000 (+0000) Subject: cable-splice-clamp: other half X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=559ca37d44fe46bbb56adbf70a9938fe2e8f16c3 cable-splice-clamp: other half --- 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();