-
Notifications
You must be signed in to change notification settings - Fork 1
/
antiant_feeder_base.scad
44 lines (40 loc) · 1.21 KB
/
antiant_feeder_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
$fa = 1;
base_height = 10;
ped_height = 80;
base_diameter = 120;
ped_diameter_bottom = 20;
ped_diameter_top = 15;
hole_diam = 15;
hole_depth = ped_height + 1;
cup_diameter = 80;
cup_inner_diameter = cup_diameter - 5;
cup_height = 15;
cup_depth = 10;
peg_height = ped_height - base_height*2;
peg_shrinkage = 0.15;
//10mm diam x .7mm deep
translate([base_diameter/2-15, base_diameter/2-15, 0]){
difference(){
union(){
translate([0, 0, base_height/2])
cylinder(h=base_height, r=base_diameter/2, center=true);
translate([0, 0, ped_height/2])
cylinder(h=ped_height, r1=ped_diameter_bottom, r2=ped_diameter_top, center=true);
}
translate([0, 0, ped_height-hole_depth/2+.1])
cylinder(h=hole_depth+.1, r=hole_diam/2, center=true);
}
}
translate([-cup_diameter/2+5, -cup_diameter/2+5, 0]){
union(){
difference(){
translate([0, 0, cup_height/2])
cylinder(h=cup_height, r=cup_diameter/2, center=true);
translate([0, 0, cup_depth+0.1])
cylinder(h=cup_depth, r=cup_inner_diameter/2, center=true);
}
translate([0, 0, peg_height/2])
cylinder(h=peg_height, r1=hole_diam/2-peg_shrinkage,
r2=hole_diam/2-peg_shrinkage*2, center=true);
}
}