chiark / gitweb /
light-bracket: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jul 2012 23:53:17 +0000 (00:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 2 Jul 2012 23:53:17 +0000 (00:53 +0100)
light-bracket.scad

index 167ce9f..2708722 100644 (file)
@@ -2,13 +2,31 @@ remote_width=56.2;
 remote_height=124.7;
 remote_thick=6.8;
 mainhole_thick=remote_thick+1;
+hook_width=1.5;
+hook_height=1.5;
 
 module hmainhole() {
-       cube(center=0,size=[ remote_width/2, remote_height, mainhole_thick ]);
+       cube(center=0,size=[ remote_width/2, remote_height, mainhole_thick ]);
 }
 
+module hhook(extent) {
+       translate([ -remote_width/2, 0, mainhole_thick/2 ])
+               cube(center=true, size=[ hook_width, extent,
+                       remote_thick+hook_height ]);
+}
+
+module hstuff() {
+       translate([0,50,0]) hhook(10);
+}
+
+module hobject() {
+       difference() {
+               hstuff();
+               # hmainhole();
+       }
+}
 
 mirror([1,0,0]){
-  hmainhole();
+       hobject();
 }
-hmainhole();
+//hobject();