// Soma cube in OpenSCAD // modeled entirely in iPhone Notes app // thus few comments and short names. // this is the fourth try though. // (Tweaked on a fifth try interactively.) $fn = 128; scale(12) All(); module c() { intersection() { s(); cube(1.01);}} module s() { d=.6; translate([.5,.5,.5]) sphere(r=d); } module z() { c(); translate([0,0,1]) c(); } module x() { c(); translate([1,0,0]) c(); } module y() { c(); translate([0,1,0]) c(); } module xz() { x(); translate([0,0,1]) c(); } module All() { xz(); translate([0,2,0]) { xz(); y(); } // Y translate([0,5,0]) { xz(); translate([2,0,0]) c();} // L translate([4,3,0]) { z(); translate([1,0,0]) y(); } // cw translate([0,-3,0]) { z(); translate([-1,0,0]) y(); } // ccw translate([4,0,0]) { x(); translate([1,1,0]) x(); } // S translate([-3,0,0]) { xz(); translate([-1,0,0]) c(); } // T }