fix ventilation for sidewalls
This commit is contained in:
@ -4,40 +4,11 @@ include <./sideWallBase.scad>
|
||||
|
||||
module sideWallRight() {
|
||||
|
||||
applyEpicVentilation()
|
||||
numVentsCustom = ceil((sideWallZ - 2*sideWallDefaultVentilationToYEdge)/10);
|
||||
|
||||
mirror(v=[1,0,0])
|
||||
applySideWallVerticalRibs()
|
||||
applySideWallBracing(numRibs=2)
|
||||
applySideWallDefaultVentilation(numVents=numVentsCustom)
|
||||
sideWallBase();
|
||||
|
||||
module applyEpicVentilation() {
|
||||
|
||||
apply_n() {
|
||||
translate(v=[-10,0,0])
|
||||
for (i = [1:8]) {
|
||||
translate(v = [0, 41, i * 12 + 10])
|
||||
vent();
|
||||
}
|
||||
children(0);
|
||||
}
|
||||
|
||||
module vent() {
|
||||
minkowski() {
|
||||
rotate(a=[0,90,0])
|
||||
cylinder(r=2,h=1);
|
||||
|
||||
cube(size = [10, 100, 1]);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module applySideWallVerticalRibs() {
|
||||
apply_p() {
|
||||
translate(v = [0, 30, 0])
|
||||
sideWallVerticalRibs(numRibs = 2, ribZ = sideWallZ, ribYDiff = 120, ribExtrusion = 1.5);
|
||||
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user