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

index 2c591dc..a02c376 100644 (file)
@@ -2,10 +2,9 @@ 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;
-hook_thick=1.5;
-hook_hook=2.5;
+hook_hook_thick=1.5;
+hook_stem_thick=1.5;
+hook_hook_len=1.5;
 base_thick=10;
 
 module mainhole() {
@@ -15,19 +14,19 @@ module mainhole() {
 }
 
 module hhook(extent) {
-       translate([ -remote_width/2 - hook_thick, 0, -base_thick*2 ])
-               cube(center=false, size=[ hook_thick+hook_hook, extent,
-                       base_thick*2 + mainhole_thick + hook_height ]);
+       translate([ -remote_width/2 - hook_stem_thick, 0, -base_thick*2 ])
+               cube(center=false, size=[ hook_stem_thick+hook_hook_len, extent,
+                       base_thick*2 + mainhole_thick + hook_hook_thick ]);
 }
 
-module stuff() {
+module hstuff() {
        translate([0,50,0]) hhook(10);
 }
 
-//     mirror([1,0,0]){
-//     hobject();
-//}
-//}
+module stuff() {
+       hstuff();
+       mirror([1,0,0]) hstuff();
+}
 
 difference() {
        stuff();