// mag mount for lid // used double sided tape to stick a M6 washer (cut in half) to the top of the Z // and then sliced some duct tape into a thin strip and wrapped it around, so // the half washer was stuck both sides. // then broke a HD magnet into four parts, not particularly evenly. // With the Zs + half washers hot glued to the hull lip, the magnets // were placed on the washers and left to find a good location. // then blobbed hot glue onto all for magnet fragments, and quickly // put the hull lid onto it, holding it down to make the lid (which was 1mm banana // shaped) straight. // When cold, then turned the lid over and hot glued the magnet fragments // some more, half at a time, so that the existing hot glue didnt melt. magheight=2; // thinkness of hard disk magnet steelheight=1.6; // thickness of steel - these two aren't used, just need to set uplength to account for these two and varish and tollerances thickness=3; // thickness of Z shape zwidth=20; // how wide is the Z shape hulldepth=10; // how far the Z shape goes under the hull uplength=10.0-magheight-steelheight; // length of the middle of the Z shape, needs to account for thickness of magenet, thickness of steel, amount of varish. vislength=10; // how much is visable, ie, the tab that the steel sits on cube([hulldepth+thickness,zwidth,thickness]); translate([hulldepth,0,0]) cube([thickness,zwidth,thickness+uplength]); translate([hulldepth,0,uplength]) cube([vislength,zwidth,thickness]);