Case: Change board outline to add buffer for H1 LED diffuser.

This commit is contained in:
Jared Boone 2017-06-07 21:47:17 -07:00
parent 626835297b
commit 0117962a51

View File

@ -18,6 +18,8 @@ case_bottom_thickness = case_thickness * 2;
h1_pcb_bottom_clearance = 4.0; h1_pcb_bottom_clearance = 4.0;
case_bottom_tool_r = 3.0; case_bottom_tool_r = 3.0;
h1_led_diffuser_thickness = 0.85;
lcd_thickness = 3.8; lcd_thickness = 3.8;
case_lid_thickness = 3.0 / 16.0 * 25.4; case_lid_thickness = 3.0 / 16.0 * 25.4;
@ -58,7 +60,14 @@ module pcb_outline() {
module pcb_outline_clearance() { module pcb_outline_clearance() {
minkowski() { minkowski() {
pcb_outline(); offset(r=-pcb_corner_r) {
circle(r=pcb_case_clearance); polygon([
[0 - h1_led_diffuser_thickness, 0 - pcb_case_clearance],
[0 - h1_led_diffuser_thickness, pcb_w + pcb_case_clearance],
[pcb_l + pcb_case_clearance, pcb_w + pcb_case_clearance],
[pcb_l + pcb_case_clearance, 0 - pcb_case_clearance]
]);
}
circle(r=pcb_corner_r);
} }
} }