mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Case: Separate LED drill diameter into a "parameters" file variable.
This commit is contained in:
parent
0117962a51
commit
b0f411f8a4
@ -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;
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user