From 50fcb5fdbfeb7119c40c67c09877edb968e18a65 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 22 Nov 2023 15:23:33 -0500 Subject: Be less dingus-minded --- case/top.scad | 4 ++-- 1 file 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]); -- cgit v1.2.3