From 532f83af4b2ceb0e064b5224edc6706cad926edf Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 9 Feb 2016 01:09:57 +0000 Subject: [PATCH] cable-splice-clamp: wip --- cable-splice-clamp.scad | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 cable-splice-clamp.scad diff --git a/cable-splice-clamp.scad b/cable-splice-clamp.scad new file mode 100644 index 0000000..a2c64e8 --- /dev/null +++ b/cable-splice-clamp.scad @@ -0,0 +1,25 @@ +// -*- C -*- + +cable_maxdia = 12; +cable_mindia = 6; + +wallmin = 1; +wall = 2; + +delta_ellipse = 0.5; + +// calculated + +outerdia = cable_maxdia / cos(30) + wall*2; +delta_shift = 1 - delta_ellipse; + +module CrossSection() { + difference(){ + cylinder(r= outerdia/2, $fn=6); + scale([cable_maxdia, + cable_maxdia * delta_shift + cable_mindia * delta_ellipse]) + cylinder(r= 0.5, $fn=30); + } +} + +CrossSection(); -- 2.30.2