3 include <commitid.scad>
5 cable_dias = [6.5, 8.2];
7 cd = cable_dias[1] + 0.5;
10 function Gland_xlen(cabledia) = cabledia * 1.5;
11 function Gland_xdia(cabledia) = cabledia * 2.0;
12 function Gland_xoutdia(cabledia) = Gland_xdia(cabledia) * 1.1 + 0.5;
14 // origin is centre, on outside
15 // outside is in direction of positive X axies
16 module GlandNegative(cabledia){
17 xlen = Gland_xlen(cabledia);
18 xdia = Gland_xdia(cabledia);
21 rotate([0,90,0]) cylinder(r= cabledia/2, h=1);
22 translate([xdia,0,0]) rotate([0,90,0]) cylinder(r= xdia/2, h=1);
26 cylinder(r= cabledia/2, h=11);
29 module GlandPositive(cabledia){
30 translate([-0.1, 0,0])
32 cylinder(r= Gland_xoutdia(cabledia)/2, h= Gland_xlen(cabledia) + 0.1);
35 platesz = [wall, 24, 28];
36 plateoff = [-platesz[0]/2, -platesz[1]/2, -platesz[2] + platesz[1]/2];
49 module Test(){ ////toplevel
54 Commitid_BestCount_M([15, 20]);