From a1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e Mon Sep 17 00:00:00 2001
From: XANTRONIX Development <dev@xantronix.com>
Date: Wed, 22 Nov 2023 12:36:45 -0500
Subject: [PATCH] There will be no off-by-one errors in MY house!

---
 case/top.scad | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/case/top.scad b/case/top.scad
index f293e4e..9018de7 100644
--- a/case/top.scad
+++ b/case/top.scad
@@ -16,7 +16,7 @@ module top_case(with_keyboard=false) {
     vent_width    =  2.0000;
     vent_length   = wall_width;
     vent_height   = 12.0000;
-    vent_count    = 32;
+    vent_count    = 33;
     vent_x_first  = keyboard_x_offset + keyboard_pcb_width - vent_count * (vent_width + vent_width);
     vent_y_offset = case_length_bottom - vent_length;
 
@@ -34,7 +34,7 @@ module top_case(with_keyboard=false) {
     }
 
     module vents() {
-        for (i = [0:vent_count]) {
+        for (i = [0:vent_count-1]) {
             x = vent_x_first + (i * (vent_width + vent_width));
 
             translate([x, vent_y_offset-eps, wall_height - vent_height])