improvements to side wall hinge

This commit is contained in:
zhao
2023-03-09 21:34:12 -05:00
parent fd84afa582
commit 2ddc90dd4d
4 changed files with 36 additions and 23 deletions

View File

@ -15,16 +15,22 @@ module magnetModule() {
applyMagnetMount()
base();
connSlack = 0.1;
connW = sideWallConnW - connSlack;
connD = sideWallConnD - connSlack;
module base() {
translate(v=[connSlack, connSlack,0])
intersection() {
cube(size = [sideWallConnW, sideWallConnD, sideWallConnLugDepression]);
cube(size = [connW, connD, sideWallConnLugDepression]);
// TODO: pattern for this? beef up mirror4XY?
cVal = 0.5;
halfspace(p=[0,cVal,0], vpos=[0,1,1]);
halfspace(p=[cVal,0,0], vpos=[1,0,1]);
halfspace(p=[sideWallConnW-cVal,0,0], vpos=[-1,0,1]);
halfspace(p=[0,sideWallConnD-cVal,0], vpos=[0,-1,1]);
halfspace(p=[connW-cVal,0,0], vpos=[-1,0,1]);
halfspace(p=[0,connD-cVal,0], vpos=[0,-1,1]);
}
}