////////////////////////////////////////////////////////////// // Liquid Metal Raspberry Pi 5 Case // 150 x 150 x 35 mm // Liquid shell + raised crest + ripple vents + ports + standoffs ////////////////////////////////////////////////////////////// $fn = 120; // ========================= // PARAMETERS // ========================= case_w = 150; case_d = 150; case_h = 35; wall = 3; standoff_h = 8; standoff_r = 3; // Pi 5 mounting hole coordinates (relative) pi_offset_x = 40; pi_offset_y = 40; pi_holes = [ [10, 10], [10, 49], [49, 10], [49, 49] ]; // ========================= // LIQUID-METAL SHELL SHAPE // ========================= module liquid_layer(z) { scale_factor = 1 + (sin(z*3.1415) * 0.06