Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 80bb4497f3
Fetching contributors…

Cannot retrieve contributors at this time

file 60 lines (47 sloc) 1.642 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
holeX = 7.5;
holeY = 6.5;

holeR = 3.4 / 2;
nutR = 3.25;
nutH = 3;
corner_cut = 26;

studding_dia = 8.0;
shaft_dia = 6.5;

module coupling()
{

translate([0,0,4])
union()
{
difference()
{
cube(size = [30,25,8], center = true);

*cube(size = [2,40,30], center = true);
                
//nut holes
# translate([ holeX, -holeY+1,- 4.01]) cylinder(h = nutH, r=nutR, $fn=6);
translate([-holeX, holeY,- 4.01]) cylinder(h = nutH, r=nutR, $fn=6);

//shaft groves
translate([ -16, 0, 4.5]) rotate([0,90,0]) cylinder(h = 16, r=studding_dia / 2, $fn=16);
translate([-0.5, 0, 4.5]) rotate([0,90,0]) cylinder(h = 16, r=shaft_dia / 2, $fn=16);

//screw holes
translate([ holeX, holeY-1, -10]) cylinder(h = 20, r=holeR, $fn=16);
translate([ holeX, -holeY++1, -4+nutH+0.4]) cylinder(h = 20, r=holeR, $fn=16);
translate([-holeX, holeY, -4+nutH+0.4]) cylinder(h = 20, r=holeR, $fn=16);
translate([-holeX, -holeY, -10]) cylinder(h = 20, r=holeR, $fn=16);

//corners
rotate([0,0,30]) translate([corner_cut, 0, 0]) cube(size = [20,40,20], center = true);
rotate([0,0,-30]) translate([corner_cut, 0, 0]) cube(size = [20,40,20], center = true);
rotate([0,0,150]) translate([corner_cut, 0, 0]) cube(size = [20,40,20], center = true);
rotate([0,0,-150]) translate([corner_cut, 0, 0]) cube(size = [20,40,20], center = true);



translate([15-7,0,5])
difference()
{
translate([5,0,0])
cube([10,30,20],true);
translate([-1,0,0])
rotate([0,90,0])
cylinder(r=24/2,h=8);
}
}
}
}

coupling();
//for(i=[0:1])for(j=[0:1])translate([i*34, j*30, 0])coupling(c=1);
Something went wrong with that request. Please try again.