// Requirements: 3D-printed "origami" HDD bracket for Sony VGN-FW230J (stands in for the // stamped steel caddy). Printed flat: 0.4 mm sheet (2 layers), 0.2 mm fold lines. // Retains a standard 9.5 mm 2.5" SATA drive (SFF-8201: 69.85 x 100.2, M3 side holes at // 14.0 / 90.6 from connector end, 3.0 up from PCB face) so it can't back out of the socket. // Fits A1 Mini bed. Final material likely PETG-HF. // Decisions (all from witness-plate fits + fold coupons, see "witness plate" design): // Drive frame: X=0 connector end face, +X toward back; Y=0 long edge nearest screw B; // Z from bay floor (drive sits flush on floor). Plate floats at Z=10.0 (tongue boss height). // Chassis M2 screws: A (-3.9, 53.9) & B (-3.9, 6.0) boss tops Z=7.5 -> 2.5 mm Z-jog; // tongue T (109.9, 34.8) at Z=10.0, flush with plate. // Fold model (validated J7/F4): single 0.4 groove = 90 deg hard stop, pivot at mid-sheet. // Jog drop = pivot spacing (flat length consumed = drop). Flange: hole d from pivot lands // d-0.2 below plate inside face; flange inside face sits 0.2 inboard of groove centre. // Print DRIVE SIDE UP: all grooves are top grooves except the 2nd fold of each A/B jog. // Tongue left unribbed: ~6 mm free span of 0.4x7 PETG buckles at roughly 80 N, plenty. // fold=1 shows the folded part in print orientation with a ghost drive (drive side = +Z). // Rev2 (Matt): cavity behind the drive is open full-width from drive back to tongue screw // centreline, cover doesn't interfere -> plate runs solid out to T.x; two half-cylinder // "speed bumps" span drive back -> screw centreline, flat ends bear on drive and chassis // to block the drive from backing out. Window shrunk 10 mm per side (frame 8 -> 18). layer_h = 0.2; t = 2*layer_h; // sheet th = layer_h; // hinge g = 0.4; // groove width = 90 deg stop fold = 0; // 0 = print layout, 1 = folded preview drive_w = 69.85; drive_l = 100.2; clr = 0.15; // flange-to-drive side clearance frame_w = 18; // plate frame band width (rev1 8) // side flanges yg0 = -clr - t/2; // groove centre, B side yg1 = drive_w + clr + t/2; // groove centre, A side fl_drop = 7.0; // plate inside face (Z 10.0) to side hole (Z 3.0) fl_hole_d = 3.4; // M3 clearance fl_len = 9.6; // flange length from pivot -> bottom edge ~0.6 above bay floor fl_x0 = 4; fl_x1 = 96.2; // flange span along drive side_x = [14.0, 90.6]; // SFF-8201 side holes // chassis screws A = [-3.9, 53.9]; B = [-3.9, 6.0]; T = [109.9, 34.8]; m2_d = 2.4; ab_w = 5.0; // A/B tab width (fits chassis pocket) ab_drop = 2.5; // Z 10.0 -> 7.5 ab_p1 = A[0] + ab_w/2; // 1st fold (top groove) = inner edge of tab pad ab_p2 = ab_p1 - ab_drop; // 2nd fold (bottom groove) ab_hole = A[0] - ab_drop; // hole position in the flat pattern tongue_r = 3.5; // speed bumps (behind drive, on the drive-side face) bump_clr = 0.1; // gap to drive back face bump_x0 = drive_l + bump_clr; bump_x1 = T[0]; // chassis boundary = screw centreline bump_h = 5; // height into cavity (drive side) bump_w = 10; // width along Y bump_y = [drive_w/2 - 21, drive_w/2 + 21]; // clear of the tongue boss/screw at Y 34.8 module outline3d() { // pieces unioned in 3D: the 2D union of these produced a bogus sliver linear_extrude(t) difference() { translate([0, yg0]) square([drive_l, yg1-yg0]); translate([frame_w, yg0+frame_w]) square([drive_l-2*frame_w, yg1-yg0-2*frame_w]); } linear_extrude(t) translate([fl_x0, yg0-fl_len]) square([fl_x1-fl_x0, fl_len+1]); linear_extrude(t) translate([fl_x0, yg1-1]) square([fl_x1-fl_x0, fl_len+1]); for (p=[A, B]) linear_extrude(t) hull() { translate([ab_hole, p[1]]) circle(d=ab_w, $fn=48); translate([ab_hole, p[1]-ab_w/2]) square([-ab_hole+1, ab_w]); } linear_extrude(t) hull() { translate(T) circle(r=tongue_r, $fn=48); translate([drive_l-1, T[1]-tongue_r]) square([T[0]-drive_l+1, 2*tongue_r]); } linear_extrude(t) translate([drive_l-1, yg0]) square([T[0]-drive_l+1, yg1-yg0]); // solid tongue plate } module bumps() { L = bump_x1 - bump_x0; for (y=bump_y) translate([bump_x0, y, t-0.1]) intersection() { scale([1, bump_w/2, bump_h]) rotate([0, 90, 0]) cylinder(r=1, h=L, $fn=72); translate([0, -bump_w, 0]) cube([L, 2*bump_w, bump_h+1]); } } module holes2d() { for (p=[A, B]) translate([ab_hole, p[1]]) circle(d=m2_d, $fn=32); translate(T) circle(d=m2_d, $fn=32); for (x=side_x) { translate([x, yg0-(fl_drop+t/2)]) circle(d=fl_hole_d, $fn=40); translate([x, yg1+(fl_drop+t/2)]) circle(d=fl_hole_d, $fn=40); } } module flat_part() { union() { bumps(); difference() { union() outline3d(); translate([0, 0, -1]) linear_extrude(t+2) holes2d(); // flange folds: top grooves translate([fl_x0-1, yg0-g/2, th]) cube([fl_x1-fl_x0+2, g, t]); translate([fl_x0-1, yg1-g/2, th]) cube([fl_x1-fl_x0+2, g, t]); // A/B jogs: 1st fold top groove, 2nd fold bottom groove for (p=[A, B]) { translate([ab_p1-g/2, p[1]-ab_w/2-1, th]) cube([g, ab_w+2, t]); translate([ab_p2-g/2, p[1]-ab_w/2-1, -1]) cube([g, ab_w+2, 1+th]); } } } } // ---- folded preview: cut flat part into panels, rotate each about its pivot line (Z = t/2) ---- module region(x0, x1, y0, y1) { intersection() { flat_part(); translate([x0, y0, -5]) cube([x1-x0, y1-y0, 20]); } } module about_x(y, a) { translate([0, y, t/2]) rotate([a, 0, 0]) translate([0, -y, -t/2]) children(); } module about_y(x, a) { translate([x, 0, t/2]) rotate([0, a, 0]) translate([-x, 0, -t/2]) children(); } if (fold == 0) { flat_part(); } else { region(ab_p1, 200, yg0, yg1); // plate + tongue about_x(yg0, -90*fold) region(-20, 200, -50, yg0); // B-side flange about_x(yg1, 90*fold) region(-20, 200, yg1, 150); // A-side flange about_y(ab_p1, 90*fold) region(ab_p2, ab_p1, yg0, yg1); // jog webs about_y(ab_p1, 90*fold) about_y(ab_p2, -90*fold) region(-50, ab_p2, yg0, yg1); // A/B pads // ghost drive (9.5 mm max) + chassis boss tops, in print orientation (drive side = +Z) %translate([0, 0, t+0.5]) cube([drive_l, drive_w, 9.5]); %for (p=[A, B]) translate([p[0], p[1], t+ab_drop]) cylinder(d=4, h=2, $fn=24); %translate([T[0], T[1], t]) cylinder(d=4, h=2, $fn=24); }