@@ -18,11 +18,11 @@ hole_clearance=1.0;
18
18
// TODO: minkowski the top edges
19
19
20
20
module pcb_hole() {
21
- cylinder (h= pcb_depth+ screen_depth+ 4 ,d= 4 - hole_clearance, center= true , $ fn= 32 );
21
+ cylinder (h= pcb_depth+ screen_depth+ 4 ,d= 3.5 - hole_clearance, center= true , $ fn= 32 );
22
22
}
23
23
24
24
module pcb_standoff() {
25
- cylinder (h= screen_depth+ 0.1 ,d= 5 , center= true , $ fn= 32 );
25
+ cylinder (h= screen_depth+ 0.1 ,d= 5.2 , center= true , $ fn= 32 );
26
26
}
27
27
28
28
module display_ili9341_hull_void() {
@@ -38,23 +38,23 @@ module display_ili9341_hull_void() {
38
38
translate ([0 ,1 ,0 ]) cube ([screen_offset_height, pcb_height- 2 ,screen_depth- 1 ]);
39
39
translate ([pcb_width- 10.4 ,1 ,0 ]) cube ([10.4 , pcb_height- 2 ,screen_depth- 1 ]);
40
40
}
41
- translate ([3 ,3 ,- pcb_depth/2 ]) pcb_hole();
42
- translate ([pcb_width- 6.92 ,3 ,- pcb_depth/2 ]) pcb_hole();
43
- translate ([pcb_width- 6.92 ,pcb_height- 5 ,- pcb_depth/2 ]) pcb_hole();
44
- translate ([3 ,pcb_height- 5 ,- pcb_depth/2 ]) pcb_hole();
41
+ translate ([3 ,3.5 ,- pcb_depth/2 ]) pcb_hole();
42
+ translate ([pcb_width- 6.92 ,3.5 ,- pcb_depth/2 ]) pcb_hole();
43
+ translate ([pcb_width- 6.92 ,pcb_height- 5 + 0.5 ,- pcb_depth/2 ]) pcb_hole();
44
+ translate ([3 ,pcb_height- 5 + 0.5 ,- pcb_depth/2 ]) pcb_hole();
45
45
46
- translate ([3 ,3 ,screen_depth/2 + 0.1 ]) pcb_standoff();
47
- translate ([pcb_width- 6.92 ,3 ,screen_depth/2 + 0.1 ]) pcb_standoff();
48
- translate ([pcb_width- 6.92 ,pcb_height- 5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
49
- translate ([3 ,pcb_height- 5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
46
+ translate ([3 ,3.5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
47
+ translate ([pcb_width- 6.92 ,3.5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
48
+ translate ([pcb_width- 6.92 ,pcb_height- 5 + 0.5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
49
+ translate ([3 ,pcb_height- 5 + 0.5 ,screen_depth/2 + 0.1 ]) pcb_standoff();
50
50
}
51
51
}
52
52
53
53
union () {
54
54
difference () {
55
55
translate ([- 0.5 ,- 0.5 ,3 - pcb_depth]) {
56
56
minkowski () {
57
- cube ([pcb_width+ 1 ,pcb_height+ 1 ,(pcb_depth+ screen_depth)/2 ]);
57
+ cube ([pcb_width+ 1 ,pcb_height+ 1 ,(pcb_depth+ screen_depth)/2 - 1 ]);
58
58
cylinder (r= 1 ,h= (pcb_depth+ screen_depth)/2 , center= true , $ fn= 32 );
59
59
}
60
60
}
0 commit comments