summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-22 15:23:33 -0500
committerXANTRONIX Development2023-11-22 15:23:33 -0500
commit50fcb5fdbfeb7119c40c67c09877edb968e18a65 (patch)
treec7002775face6070f775d1a5f232b4382245b826
parenta1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e (diff)
downloadxantronix-z32-50fcb5fdbfeb7119c40c67c09877edb968e18a65.tar.gz
xantronix-z32-50fcb5fdbfeb7119c40c67c09877edb968e18a65.tar.bz2
xantronix-z32-50fcb5fdbfeb7119c40c67c09877edb968e18a65.zip
Be less dingus-minded
-rw-r--r--case/top.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/case/top.scad b/case/top.scad
index 9018de7..cbaa386 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -17,7 +17,7 @@ module top_case(with_keyboard=false) {
vent_length = wall_width;
vent_height = 12.0000;
vent_count = 33;
- vent_x_first = keyboard_x_offset + keyboard_pcb_width - vent_count * (vent_width + vent_width);
+ vent_x_first = keyboard_x_offset + keyboard_pcb_width - vent_count * 2*vent_width;
vent_y_offset = case_length_bottom - vent_length;
eps = 0.01;
@@ -35,7 +35,7 @@ module top_case(with_keyboard=false) {
module vents() {
for (i = [0:vent_count-1]) {
- x = vent_x_first + (i * (vent_width + vent_width));
+ x = vent_x_first + (i * 2*vent_width);
translate([x, vent_y_offset-eps, wall_height - vent_height])
cube([vent_width, vent_length+2*eps, vent_height+eps]);