diff --git a/hardware/portapack_h1/case/pp_h1_parameters.scad b/hardware/portapack_h1/case/pp_h1_parameters.scad index 1f5e1ddb..113f7cb7 100644 --- a/hardware/portapack_h1/case/pp_h1_parameters.scad +++ b/hardware/portapack_h1/case/pp_h1_parameters.scad @@ -21,6 +21,11 @@ case_bottom_tool_r = 3.0; h1_led_hole_diameter = 2; h1_led_diffuser_thickness = 0.85; +case_pcb_n_clearance = h1_led_diffuser_thickness + 0.15; +case_pcb_w_clearance = pcb_case_clearance; +case_pcb_e_clearance = pcb_case_clearance; +case_pcb_s_clearance = pcb_case_clearance; + lcd_thickness = 3.8; case_lid_thickness = 3.0 / 16.0 * 25.4; @@ -63,10 +68,10 @@ module pcb_outline_clearance() { minkowski() { offset(r=-pcb_corner_r) { 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] + [0 - case_pcb_n_clearance, 0 - case_pcb_w_clearance], + [0 - case_pcb_n_clearance, pcb_w + case_pcb_e_clearance], + [pcb_l + case_pcb_s_clearance, pcb_w + case_pcb_e_clearance], + [pcb_l + case_pcb_s_clearance, 0 - case_pcb_w_clearance] ]); } circle(r=pcb_corner_r);