chiark / gitweb /
light-bracket: wip, has base
[reprap-play.git] / light-bracket.scad
index 7c97461b64cb690e4201b94b914e2d2a20d98b7a..66d406fc5cd954407ea48468808dca719bafc4f7 100644 (file)
@@ -5,7 +5,10 @@ mainhole_thick=remote_thick+1;
 hook_hook_thick=1.5;
 hook_stem_thick=1.5;
 hook_hook_len=1.5;
-base_thick=10;
+base_thick=6;
+base_margin=4.0;
+base_width=remote_width-base_margin*2;
+base_height=remote_height-base_margin*2;
 
 module mainhole() {
        translate([ -remote_width/2, 0, 0 ])
@@ -42,10 +45,13 @@ module hstuff() {
 module stuff() {
        hstuff();
        mirror([1,0,0]) hstuff();
+       translate([-base_width/2, base_margin, -base_thick*2])
+               cube(center=false, [base_width,base_height,base_thick+10]);
 }
 
 difference() {
        stuff();
        mainhole();
-       translate([0,0,-50 - base_thick]) cube(center=true,[300,300,100]);
+       translate([0,0,-50 - base_thick])
+               cube(center=true,[300,300,100]); // print bed
 }