chiark / gitweb /
light-bracket: wip, has base
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 00:29:44 +0000 (01:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 00:29:44 +0000 (01:29 +0100)
light-bracket.scad

index 7c97461..66d406f 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
 }