summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-22 12:36:45 -0500
committerXANTRONIX Development2023-11-22 12:36:45 -0500
commita1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e (patch)
treeddcc9a07e089f2097561a62151c8d9ef41a55418
parentde005917cd6d86926ec83c00599f57ca30c5ddf4 (diff)
downloadxantronix-z32-a1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e.tar.gz
xantronix-z32-a1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e.tar.bz2
xantronix-z32-a1561cdd42acdbb0a4cca2f4c42d91b86d7ac77e.zip
There will be no off-by-one errors in MY house!
-rw-r--r--case/top.scad4
1 files 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])