Got all the upper supports in!
This commit is contained in:
parent
84b2fb6409
commit
feb53663fe
1 changed files with 9 additions and 5 deletions
|
@ -137,6 +137,8 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
|||
cube([wall_width, case_length_bottom, wall_height - wall_width], false);
|
||||
|
||||
/* Upper vertical supports */
|
||||
upper_support_x_interval = (keyboard_width + wall_width + 1.25) / 6;
|
||||
|
||||
upper_support_length = case_length_bottom
|
||||
- keyboard_length
|
||||
- keyboard_y_offset
|
||||
|
@ -148,12 +150,14 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
|||
|
||||
upper_support_x_offset = keyboard_x_offset - wall_width;
|
||||
|
||||
translate([upper_support_x_offset,
|
||||
for (x = [0: upper_support_x_interval: keyboard_width + 2 * wall_width]) {
|
||||
translate([upper_support_x_offset + x,
|
||||
upper_support_y_offset,
|
||||
wall_height - wall_width])
|
||||
support([upper_support_length, keyboard_switch_height],
|
||||
1.25);
|
||||
}
|
||||
}
|
||||
|
||||
module screw_holes() {
|
||||
pcb_screw_diameter = 2.5;
|
||||
|
|
Loading…
Add table
Reference in a new issue