summaryrefslogtreecommitdiffstats
path: root/case
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-15 13:09:01 -0500
committerXANTRONIX Development2023-11-15 13:09:01 -0500
commit51a804b72352be620bf7a8ca49ea7e8f7fc7aa60 (patch)
treee992582b09a15bd028c5b894e97b787c042301c0 /case
parentc8c818d8bc594503e8fc7b4797604fe9c196a993 (diff)
downloadxantronix-z32-51a804b72352be620bf7a8ca49ea7e8f7fc7aa60.tar.gz
xantronix-z32-51a804b72352be620bf7a8ca49ea7e8f7fc7aa60.tar.bz2
xantronix-z32-51a804b72352be620bf7a8ca49ea7e8f7fc7aa60.zip
Rename "fin gaps" to "vents"
Diffstat (limited to 'case')
-rw-r--r--case/top.scad25
1 files changed, 12 insertions, 13 deletions
diff --git a/case/top.scad b/case/top.scad
index fc9ed8b..4b66326 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -40,13 +40,12 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
accent_y_stride = (keyboard_length - accent_width) / 5.0;
accent_y_bottom = keyboard_y_offset;
- fin_width = 2.0000;
- fin_gap_width = 2.0000;
- fin_gap_length = wall_width;
- fin_gap_height = 12.0000;
- fin_gap_count = 32;
- fin_gap_x_first = keyboard_x_offset + keyboard_width - fin_gap_count * (fin_width + fin_gap_width);
- fin_gap_y_offset = case_length_bottom - fin_gap_length;
+ vent_width = 2.0000;
+ vent_length = wall_width;
+ vent_height = 12.0000;
+ vent_count = 32;
+ vent_x_first = keyboard_x_offset + keyboard_width - vent_count * (vent_width + vent_width);
+ vent_y_offset = case_length_bottom - vent_length;
module fascia() {
linear_extrude(wall_width)
@@ -57,12 +56,12 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
}
}
- module fin_gaps() {
- for (i = [0:fin_gap_count]) {
- x = fin_gap_x_first + (i * (fin_width + fin_gap_width));
+ module vents() {
+ for (i = [0:vent_count]) {
+ x = vent_x_first + (i * (vent_width + vent_width));
- translate([x, fin_gap_y_offset, wall_height - fin_gap_height])
- cube([fin_gap_width, fin_gap_length, fin_gap_height], false);
+ translate([x, vent_y_offset, wall_height - vent_height])
+ cube([vent_width, vent_length, vent_height], false);
}
}
@@ -193,7 +192,7 @@ module top_case(key_switch_sizes, pcb_screw_holes) {
difference() {
body();
accents();
- fin_gaps();
+ vents();
}
keyboard_deck_z_offset = wall_height - wall_width - keyboard_switch_height;