Bustin' feels good 8)

This commit is contained in:
XANTRONIX 2023-11-15 19:01:27 -05:00
parent f927eb055a
commit dd1733d691

View file

@ -43,6 +43,8 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
vent_x_first = keyboard_x_offset + keyboard_width - vent_count * (vent_width + vent_width); vent_x_first = keyboard_x_offset + keyboard_width - vent_count * (vent_width + vent_width);
vent_y_offset = case_length_bottom - vent_length; vent_y_offset = case_length_bottom - vent_length;
support_width = 2.0000;
module fascia() { module fascia() {
linear_extrude(wall_width) linear_extrude(wall_width)
difference() { difference() {
@ -142,7 +144,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
/* Left */ /* Left */
cube([wall_width, case_length_bottom, wall_height - wall_width], false); cube([wall_width, case_length_bottom, wall_height - wall_width], false);
support_x_interval = (keyboard_width + wall_width + 1.25) / 6; support_x_interval = (keyboard_width + 2 * wall_width - support_width) / 6;
support_x_offset = keyboard_x_offset - wall_width; support_x_offset = keyboard_x_offset - wall_width;
/* Upper vertical supports */ /* Upper vertical supports */
@ -164,12 +166,12 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
translate([support_x_offset + x, translate([support_x_offset + x,
upper_support_y_offset, upper_support_y_offset,
wall_height - wall_width]) wall_height - wall_width])
support([upper_support_length, keyboard_switch_height], 1.25); support([upper_support_length, keyboard_switch_height], support_width);
translate([support_x_offset + x, translate([support_x_offset + x,
lower_support_y_offset, lower_support_y_offset,
wall_height - wall_width]) wall_height - wall_width])
support([lower_support_length, keyboard_switch_height], 1.25); support([lower_support_length, keyboard_switch_height], support_width);
} }
} }