add new print-friendly folder, and update rbuild accordingly. also refactor+fix xBar
This commit is contained in:
@ -2,6 +2,7 @@ include <../config.scad>
|
||||
include <./sideWallVariables.scad>
|
||||
include <../sharedVariables.scad>
|
||||
include <../../helper/halfspace.scad>
|
||||
include <../../helper/screws.scad>
|
||||
|
||||
|
||||
module hingeModule() {
|
||||
|
||||
@ -4,6 +4,7 @@ include <./sideWallVariables.scad>
|
||||
include <../sharedVariables.scad>
|
||||
include <../../helper/halfspace.scad>
|
||||
include <../../misc/magnet.scad>
|
||||
include <../../helper/screws.scad>
|
||||
|
||||
module magnetModule() {
|
||||
|
||||
|
||||
@ -13,11 +13,12 @@ include <./hingeModule.scad>
|
||||
echo("Side Wall Height", sideWallZ);
|
||||
echo("Side Wall Depth", sideWallY);
|
||||
|
||||
module sideWall() {
|
||||
*sideWallBase();
|
||||
|
||||
module sideWallBase() {
|
||||
|
||||
applyHingeConnector()
|
||||
applyMagnetConnector()
|
||||
applyEpicVentilation()
|
||||
applyHandle()
|
||||
sideWallBase();
|
||||
|
||||
@ -96,29 +97,13 @@ module sideWall() {
|
||||
children(0);
|
||||
}
|
||||
|
||||
|
||||
module sideWallMagnetMountRotated() {
|
||||
rotate(a=[0,90,0])
|
||||
sideWallMagnetMount();
|
||||
}
|
||||
}
|
||||
|
||||
module applyEpicVentilation() {
|
||||
children(0);
|
||||
}
|
||||
|
||||
module applyHandle() {
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sideWall();
|
||||
|
||||
translate(v=[10,sideWallSlotToXZ,-2])
|
||||
mirror(v=[1,0,0])
|
||||
*magnetModule();
|
||||
|
||||
translate(v=[3,100,0])
|
||||
mirror(v=[0,1,0])
|
||||
*hingeModule();
|
||||
15
rack/side/sideWallLeft.scad
Normal file
15
rack/side/sideWallLeft.scad
Normal file
@ -0,0 +1,15 @@
|
||||
include <./sideWallBase.scad>
|
||||
|
||||
|
||||
*sideWallLeft();
|
||||
|
||||
module sideWallLeft() {
|
||||
|
||||
applyEpicVentilation()
|
||||
sideWallBase();
|
||||
|
||||
module applyEpicVentilation() {
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
|
||||
15
rack/side/sideWallRight.scad
Normal file
15
rack/side/sideWallRight.scad
Normal file
@ -0,0 +1,15 @@
|
||||
include <./sideWallBase.scad>
|
||||
|
||||
*sideWallRight();
|
||||
|
||||
module sideWallRight() {
|
||||
|
||||
applyEpicVentilation()
|
||||
mirror(v=[1,0,0])
|
||||
sideWallBase();
|
||||
|
||||
module applyEpicVentilation() {
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
|
||||
include <../config.scad>
|
||||
include <../sharedVariables.scad>
|
||||
include <../../misc/magnet.scad>
|
||||
|
||||
sideWallConnW = 7;
|
||||
sideWallConnD = 20;
|
||||
|
||||
Reference in New Issue
Block a user