chiark / gitweb /
led-panel-ceiling-bracket: swap order to make % of cube show us bolt holes (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 30 Oct 2015 17:34:13 +0000 (17:34 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 30 Oct 2015 17:34:13 +0000 (17:34 +0000)
led-panel-ceiling-bracket.scad

index ae3456cfb9ae7e1a9e7615e0aff4930a02f0305d..03e1ffbf1b18474e9526e62692c25dd1a4e8825d 100644 (file)
@@ -25,14 +25,6 @@ module Bracket(){
   difference(){
     translate([-len/2, 0, 0])
       cube([len, width, height]);
-    translate([0, width/2, 0]) {
-      cylinder(r= plasfix_dia/2, h=50, $fn=20);
-      hull(){
-       cylinder(r= plasfix_dia/2, h= plasfix_headdep + plasfix_sink, $fn=20);
-       translate([0,0,-1])
-         cylinder(r= plasfix_head/2, h= plasfix_sink + 1, $fn=20);
-      }
-    }
     for (xsgn=[-1,+1]) {
       translate([xsgn * holespc/2, -1,
                 light_height - hole_from_back + extra_height]) {
@@ -46,6 +38,14 @@ module Bracket(){
        }
       }
     }
+    translate([0, width/2, 0]) {
+      cylinder(r= plasfix_dia/2, h=50, $fn=20);
+      hull(){
+       cylinder(r= plasfix_dia/2, h= plasfix_headdep + plasfix_sink, $fn=20);
+       translate([0,0,-1])
+         cylinder(r= plasfix_head/2, h= plasfix_sink + 1, $fn=20);
+      }
+    }
   }
 }