wip
This commit is contained in:
@ -96,10 +96,10 @@ module sideWall() {
|
|||||||
module applyMagnetConnector() {
|
module applyMagnetConnector() {
|
||||||
apply_p() {
|
apply_p() {
|
||||||
union() {
|
union() {
|
||||||
translate(v = [sideWallThickness, magnetMountToYBarFront + 2, magnetMountToYBarTop+1])
|
translate(v = [sideWallThickness, magnetMountToYBarFront, magnetMountToYBarTop])
|
||||||
sideMagnetMount();
|
sideMagnetMount();
|
||||||
|
|
||||||
translate(v = [sideWallThickness, magnetMountToYBarFront + 2, sideWallZ - (magnetMountToYBarTop + 1)])
|
translate(v = [sideWallThickness, magnetMountToYBarFront, sideWallZ - magnetMountToYBarTop])
|
||||||
sideMagnetMount();
|
sideMagnetMount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ magnetMountShellRadius = magnetRSlacked + 1;
|
|||||||
|
|
||||||
innerSideWallToYBarMagnetConn = magnetFaceToSideWallConnOuterYEdge + sideWallSlotToOuterYEdge - sideWallThickness;
|
innerSideWallToYBarMagnetConn = magnetFaceToSideWallConnOuterYEdge + sideWallSlotToOuterYEdge - sideWallThickness;
|
||||||
|
|
||||||
magnetMountToYBarTop = magnetMountShellRadius;
|
magnetMountToYBarTop = magnetMountShellRadius + 1;
|
||||||
magnetMountToYBarFront = magnetMountShellRadius + sideWallSlotToXZ;
|
magnetMountToYBarFront = magnetMountShellRadius + sideWallSlotToXZ + 2;
|
||||||
|
|
||||||
hingePoleR = 2;
|
hingePoleR = 2;
|
||||||
hingePoleH = 5;
|
hingePoleH = 5;
|
||||||
@ -69,12 +69,11 @@ module sideWallConnectorMagnet() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
module applyMagnetMount() {
|
module applyMagnetMount() {
|
||||||
|
|
||||||
magnetMountDx = magnetMountShellRadius;
|
magnetMountDx = magnetMountShellRadius;
|
||||||
magnetMountDy = magnetMountShellRadius + 2;
|
magnetMountDy = magnetMountToYBarFront - sideWallSlotToXZ;
|
||||||
magnetMountDz = magnetMountShellRadius + sideWallConnLugDepression +1;
|
magnetMountDz = magnetMountToYBarTop + sideWallConnLugDepression;
|
||||||
|
|
||||||
apply_pn() {
|
apply_pn() {
|
||||||
magnetMountShell();
|
magnetMountShell();
|
||||||
@ -149,7 +148,7 @@ module sideWallConnectorHinge() {
|
|||||||
module sideWallConnectorMagnetSide() {
|
module sideWallConnectorMagnetSide() {
|
||||||
// oriented so that the xy face is the side wall's inner face
|
// oriented so that the xy face is the side wall's inner face
|
||||||
difference() {
|
difference() {
|
||||||
cylinder(r1=magnetMountShellRadius + 0.5,r2 = magnetMountShellRadius, h = innerSideWallToYBarMagnetConn);
|
cylinder(r1 = magnetMountShellRadius+0.5, r2 = magnetMountShellRadius, h = innerSideWallToYBarMagnetConn);
|
||||||
|
|
||||||
translate(v=[0, 0, innerSideWallToYBarMagnetConn-magnetHSlacked])
|
translate(v=[0, 0, innerSideWallToYBarMagnetConn-magnetHSlacked])
|
||||||
cylinder(r = magnetRSlacked, h = magnetHSlacked);
|
cylinder(r = magnetRSlacked, h = magnetHSlacked);
|
||||||
|
|||||||
Reference in New Issue
Block a user