From fe1d6239b8ecf6a87ebc9e7d347944c61fdec28f Mon Sep 17 00:00:00 2001 From: Charles Shapiro Date: Tue, 4 Jan 2022 19:43:51 -0500 Subject: [PATCH] Add optional vent holes to lid. --- arduino.scad | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arduino.scad b/arduino.scad index a122d1b..9741336 100644 --- a/arduino.scad +++ b/arduino.scad @@ -182,6 +182,16 @@ module enclosureLid( boardType = UNO, wall = 3, offset = 3, cornerRadius = 3, ve } } + if (ventHoles) { + translate([(wall+offset+0.5),(wall+offset+0.5),-5]) { + cube([5,boardDim[0]-5,10]); + } + translate([pcbDim[0]-(wall+offset+6),(wall+offset+0.5),-5]) { + cube([5,boardDim[0]-5,10]); + } + + + } } }