This commit is contained in:
zhao
2023-02-04 21:15:57 -05:00
parent 7b19db8153
commit 7af767263b
2 changed files with 7 additions and 8 deletions

View File

@ -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();
} }

View File

@ -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();