Subversion Repositories group.electronics

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
120 pfowler 1
// START lower Conical Knob
2
knob_t = 18;
3
knob_b = 22;
4
knob_h = 12;
5
 
6
knob_outer_wall = 2;
7
 
8
 
9
top_shaft_h = 6;
10
top_shaft_w = 8;
11
 
12
scale([0.5,0.5,1]) {
13
 
14
 
15
union() {
16
translate([0, 0, 0]) {
17
	difference() {
18
	union() {
19
		difference() {
20
			difference() {
21
				cylinder(knob_h,knob_b,knob_t);
22
 
23
				union() {
24
 
25
					difference() {
26
						cylinder(8,knob_b-knob_outer_wall,knob_t-knob_outer_wall);		//Hollowing
27
						union() {
28
							translate([0,0,4])cylinder(top_shaft_h, top_shaft_w, top_shaft_w); // Top centre hole
29
							difference() {
30
								cylinder(12,12,12); // Flared bottom hole
31
								cylinder(12,10,10);
32
							}
33
						}
34
					}
35
				}
36
			}
37
 
38
			difference() {
39
				cylinder(12,6,6);
40
				translate([4,-1,8]) {
41
					cube([2,2,4]);
42
				}
43
				translate([-6.5,-1,8]) {
44
					cube([2,2,4]);
45
				}
46
 
47
			}
48
		}
49
 
50
		for ( i = [0:7] ) {
51
			rotate (i*360/8, [0,0,1])
52
				translate([7,-1,4]) cube([4,2,6]);
53
		}
54
 
55
 
56
	difference() {
57
		for ( i = [0:15] ) {
58
			rotate (i*360/16, [0,0,1])
59
				translate([10,-1,0]) {
60
					difference() {
61
						cube([12,2,12]);
62
					}
63
				}
64
		}
65
 
66
		difference() {
67
			cylinder(12,30,24);
68
			cylinder(12,24,18);
69
		}
70
 
71
	}
72
 
73
 
74
	}
75
		union() {
76
			translate([0,0,9]) {
77
				difference() {
78
					cylinder(5,30,12);
79
					cylinder(5,24,9);
80
				}
81
			}
82
			difference() {
83
				cylinder(2,26,26);
84
				cylinder(2,23,23);
85
			}
86
		}
87
	}
88
}
89
}
90
}
91
// END Lower Conical Knob