update sidewalls

This commit is contained in:
zhao
2023-07-15 12:41:42 -04:00
parent 95020a2117
commit ab08f6392c
23 changed files with 57 additions and 34 deletions

View File

@ -4,7 +4,7 @@ include <../sharedVariables.scad>
include <./sideWallVariables.scad>
translate(v=[10,20,-2 - sideWallZHingeTotalClearance])
hingeModule();
*hingeModule();
module hingeModule() {

View File

@ -4,7 +4,7 @@ include <../sharedVariables.scad>
include <./sideWallVariables.scad>
translate(v=[10,-5,-(2+sideWallZHingeTotalClearance)])
magnetModule();
*magnetModule();
magnetModuleMagnetMountDy = magnetMountToYBarFront - sideWallSlotToXZ;
magnetModuleMagnetMountDz = magnetMountToYBarTop + sideWallConnLugDepression;

View File

@ -5,13 +5,13 @@ sideWallLeft();
module sideWallLeft() {
applySideWallVerticalRibs()
//applyEpicVentilation()
applyEpicVentilation()
sideWallBase();
module applyEpicVentilation() {
apply_n() {
for (i = [1:8]) {
translate(v = [0, 41, i * 18 + 10])
translate(v = [0, 41, i * 12 + 10])
vent();
}
children(0);
@ -20,17 +20,18 @@ module sideWallLeft() {
module vent() {
minkowski() {
rotate(a=[0,90,0])
cylinder(r=1,h=1);
cylinder(r=2,h=1);
cube(size = [10, 80, 5]);
cube(size = [10, 100, 1]);
}
}
}
module applySideWallVerticalRibs() {
echo("sideWallZ", sideWallZ);
apply_p() {
translate(v = [0, 20, 0])
sideWallVerticalRibs(numRibs = 9, ribZ = sideWallZ, ribYDiff = 20, ribExtrusion = 1.5);
translate(v = [0, 30, 0])
sideWallVerticalRibs(numRibs = 2, ribZ = sideWallZ, ribYDiff = 120, ribExtrusion = 1.5);
children(0);
}

View File

@ -4,17 +4,17 @@ sideWallRight();
module sideWallRight() {
//applyEpicVentilation()
applyEpicVentilation()
mirror(v=[1,0,0])
applySideWallVerticalRibs()
//render()
sideWallBase();
module applyEpicVentilation() {
apply_n() {
translate(v=[-10,0,0])
for (i = [1:8]) {
translate(v = [0, 41, i * 18 + 10])
translate(v = [0, 41, i * 12 + 10])
vent();
}
children(0);
@ -22,8 +22,10 @@ module sideWallRight() {
module vent() {
minkowski() {
sphere(r=1);
cube(size = [10, 40, 3]);
rotate(a=[0,90,0])
cylinder(r=2,h=1);
cube(size = [10, 100, 1]);
}
}
@ -31,8 +33,8 @@ module sideWallRight() {
module applySideWallVerticalRibs() {
apply_p() {
translate(v = [0, 20, 0])
sideWallVerticalRibs(numRibs = 9, ribZ = sideWallZ, ribYDiff = 20, ribExtrusion = 1.5);
translate(v = [0, 30, 0])
sideWallVerticalRibs(numRibs = 2, ribZ = sideWallZ, ribYDiff = 120, ribExtrusion = 1.5);
children(0);
}