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);
|
cube([wall_width, case_length_bottom, wall_height - wall_width], false);
|
||||||
|
|
||||||
/* Upper vertical supports */
|
/* Upper vertical supports */
|
||||||
|
upper_support_x_interval = (keyboard_width + wall_width + 1.25) / 6;
|
||||||
|
|
||||||
upper_support_length = case_length_bottom
|
upper_support_length = case_length_bottom
|
||||||
- keyboard_length
|
- keyboard_length
|
||||||
- keyboard_y_offset
|
- keyboard_y_offset
|
||||||
|
@ -148,11 +150,13 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
|
||||||
|
|
||||||
upper_support_x_offset = keyboard_x_offset - wall_width;
|
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]) {
|
||||||
upper_support_y_offset,
|
translate([upper_support_x_offset + x,
|
||||||
wall_height - wall_width])
|
upper_support_y_offset,
|
||||||
support([upper_support_length, keyboard_switch_height],
|
wall_height - wall_width])
|
||||||
1.25);
|
support([upper_support_length, keyboard_switch_height],
|
||||||
|
1.25);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module screw_holes() {
|
module screw_holes() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue