From: Ian Jackson Date: Tue, 3 Jul 2012 00:44:36 +0000 (+0100) Subject: light-bracket: wip, screw_ys X-Git-Tag: iwj-success-2012-07-29~32 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=7585fece554ebff2e13e28633b39d7f1a8a3d8a1 light-bracket: wip, screw_ys --- diff --git a/light-bracket.scad b/light-bracket.scad index c5715f6..750acc0 100644 --- a/light-bracket.scad +++ b/light-bracket.scad @@ -49,10 +49,13 @@ module base() { cube(center=false, [base_width,base_height,base_thick+10]); } +screw_ys=[ 20, remote_height-30 ]; + module stuff() { hstuff(); mirror([1,0,0]) hstuff(); base(); + //for (y=screw_ys) } module screwhole(holedia, csdia) { @@ -66,8 +69,7 @@ module screwhole(holedia, csdia) { difference() { stuff(); mainhole(); - translate([0, 20, -base_thick+2]) screwhole(4,10); - translate([0, remote_height-30, -base_thick+2]) screwhole(4,10); + for (y=screw_ys) translate([0, y, -base_thick+2]) screwhole(4,10); translate([0,0,-50 - base_thick]) cube(center=true,[300,300,100]); // print bed }