idk that's better somehow
This commit is contained in:
parent
a5cf93b8d6
commit
d730208b81
1 changed files with 9 additions and 9 deletions
|
@ -240,15 +240,6 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
|||
cube([wall_width, case_length_bottom, wall_height], false);
|
||||
}
|
||||
|
||||
module screw_holes() {
|
||||
pcb_screw_diameter = 2.5;
|
||||
|
||||
for (screw_hole = pcb_screw_holes) {
|
||||
translate([screw_hole[0], screw_hole[1], -eps])
|
||||
cylinder(h=wall_width+2*eps, d=pcb_screw_diameter);
|
||||
}
|
||||
}
|
||||
|
||||
module keyboard_deck() {
|
||||
key_switch_footprint = [15.25, 15.25];
|
||||
|
||||
|
@ -256,6 +247,15 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
|||
function slice(v, x, y) = [for (i=[x:y]) v[i]];
|
||||
function addrange(v, x, y) = add(slice(v, x, y));
|
||||
|
||||
module screw_holes() {
|
||||
pcb_screw_diameter = 2.5;
|
||||
|
||||
for (screw_hole = pcb_screw_holes) {
|
||||
translate([screw_hole[0], screw_hole[1], -eps])
|
||||
cylinder(h=wall_width+2*eps, d=pcb_screw_diameter);
|
||||
}
|
||||
}
|
||||
|
||||
module key_switch_plate(key_switch_size) {
|
||||
plate_width = keyboard_switch_width * key_switch_size;
|
||||
plate_length = keyboard_switch_length;
|
||||
|
|
Loading…
Add table
Reference in a new issue