Case: Separate LED drill diameter into a "parameters" file variable.

This commit is contained in:
Jared Boone 2017-06-08 13:05:25 -07:00
parent 0117962a51
commit b0f411f8a4
2 changed files with 2 additions and 3 deletions

View File

@ -18,6 +18,7 @@ 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_hole_diameter = 2;
h1_led_diffuser_thickness = 0.85; h1_led_diffuser_thickness = 0.85;
lcd_thickness = 3.8; lcd_thickness = 3.8;

View File

@ -227,11 +227,9 @@ module led(refdes, c) {
} }
module led_drill() { module led_drill() {
hole_diameter = 2;
translate([0, -0.25, -0.3]) { translate([0, -0.25, -0.3]) {
rotate([90, 0, 0]) { rotate([90, 0, 0]) {
cylinder(d=hole_diameter, h=10); cylinder(d=h1_led_hole_diameter, h=10);
} }
} }
} }