Subversion Repositories group.electronics

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
120 pfowler 1
upper_display_h = 0;
2
 
3
upper_knob_h = 12;
4
 
5
scale([0.5, 0.5,1]) {
6
union() {
7
 
8
	difference() {
9
		translate([0,0,upper_display_h + 0]) cylinder(upper_knob_h, 5.5, 5.5);
10
 
11
union() {
12
		translate([0,0,upper_display_h - 1]) cylinder(4, 3.5, 3.5);
13
		difference() {
14
		translate([0,0,upper_display_h + 3]) cylinder(7, 3.5, 3.5);
15
		translate([-3.5, -3, upper_display_h + 3])cube([2, 6, 7]);
16
		}
17
}
18
	}
19
 
20
difference() {
21
	union() {
22
 
23
		translate([0,0,upper_display_h + 0]) {
24
			difference() {
25
				cylinder(upper_knob_h, 12, 10);
26
				cylinder(upper_knob_h - 2, 10, 8);
27
			}
28
		}
29
 
30
		difference() {
31
			translate([0,0,upper_display_h - 4]) {
32
				for ( i = [0:15] ) {
33
					rotate (i*360/16, [0,0,1])
34
						translate([4,-0.5,upper_display_h + 4]) cube([10,1,upper_knob_h]);
35
				}
36
			}
37
 
38
			translate([0,0,upper_display_h - 1]) difference() {
39
				cylinder(upper_knob_h + 2,20,18);
40
				cylinder(upper_knob_h + 2,14,10);
41
			}
42
			translate([0,0,upper_display_h - 1]) difference() {
43
				cylinder(upper_knob_h + 2,20,18);
44
				cylinder(upper_knob_h + 2,13,13);
45
			}
46
 
47
		}
48
 
49
	}
50
 
51
	union() {
52
		translate([0,0,upper_knob_h - 2]) {
53
			difference() {
54
				cylinder(5,22,9);
55
				cylinder(5,12,3);
56
			}
57
		}
58
	}
59
 
60
	translate([0,0,upper_display_h-1]) cylinder(4, 3.5, 3.5);
61
	difference() {
62
		translate([0,0,upper_display_h+3]) {
63
			cylinder(7, 3.5, 3.5);
64
		}
65
		translate([-3.5, -3, upper_display_h+3]) {
66
			cube([2, 6, 7]);
67
		}
68
	}
69
}
70
}
71
}