-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtenticle-suction-base.scad
47 lines (37 loc) · 1000 Bytes
/
tenticle-suction-base.scad
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
//radius of cone bottom in mm.
base=[13,2,0];
//Size of bolt holes in mm.
holes=11.5;
//Number of feet on the base.
feet=3;
//Distance in mm to from the center to the suction cups.
range=32;
//Resolution of 3D printer in mm.
$fs=0.2;
//Size of the beam being held.
hole=[14,12.3+1.5,72];
difference(){
union(){
cylinder (r2=10,r1=base[0],h=25);
for (turn=[0:360/feet:359]){
rotate([ 0,0,turn-30]){
difference(){
hull(){
cylinder (r=base[0],h=base[1]);
translate ([range,0,0]) cylinder (r=3+(holes/2),h=base[1]);
}
translate ([range,0,-1])
union(){
cylinder (r=holes/2,h=base[1]*2);
for ( i = [0 : 3] ){rotate([0,0,45+(90*i)]) translate([(holes/2),0,0])
cylinder(r=1.5,h=base[1]*2);} //4 notches for suckers.
}
}
}
}
}
translate([-hole[0]/2,-hole[1]/2,-0.1]) cube (hole);
translate([-hole[0]/2,-hole[1]/2,base[1]])
translate([0,1,0]) rotate([90,0,0]) cube (hole);
}
//translate([-hole[0]/2,-hole[1]/2,base[1]]) rotate([135,0,0]) #cube ([hole[0],hole[1],10]);