chiark / gitweb /
light-bracket: looks good, made bracket()
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 01:04:36 +0000 (02:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 3 Jul 2012 01:04:36 +0000 (02:04 +0100)
light-bracket.scad

index 0e3bee6..f5cdfe1 100644 (file)
@@ -95,10 +95,15 @@ module screwhole(holedia, csdia) {
        cylinder(h=100, r=csdia/2);
 }
 
-difference() {
-       stuff();
-       mainhole();
-       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
+module bracket() {
+       difference() {
+               stuff();
+               mainhole();
+               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
+       }
 }
+
+bracket();