summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]);