// // RZLblink Case // // This is a case for the RZLblink soldering kit: http://rzl.so/wiki/RZLblink // RZLblink is a clone of the Blink1 Kickstarter Project: // http://thingm.com/products/blink-1.html // // The script itself is "semi-parameterized" and could be much more prettier. // // License: Creative Commons - Attribution - Share Alike // length=42; height=5; width=15; thickness=1.5; union() { difference() { union(){ // case cube(size = [ (length+thickness), (width+thickness), (height+thickness) ], center = true); // led diffusor translate(v=[-length/2 + 8,0,height/2]) sphere(r=3,$fn=50); // usb connector space translate(v=[length/2-2.25,0,height/2+0.25]) cube(size = [6, width+thickness, 2], center = true); } // cut inner case translate(v=[thickness,0,0]) cube(size = [length, width, height], center = true); // cut for usb connector translate(v=[length/2,0,height/2]) cube(size = [8, width, 2], center = true); } // the catch translate(v=[length/2 + 0.25, 0,(height/2)*-1]) cube(size = [1, width, 1.5], center = true); }