chiark / gitweb /
sprinkler-spike-receptacle: wip strap on its way
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 9 Sep 2017 18:07:24 +0000 (19:07 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 9 Sep 2017 18:07:24 +0000 (19:07 +0100)
sprinkler-spike-receptacle.scad

index b844751..23a6b57 100644 (file)
@@ -98,21 +98,28 @@ module FixingsPositive(){
           mount_height ]);
 
   // strap
-  translate([main_width, -strap_width/2, strap_height]) {
+  translate([main_width/2, 0, strap_height]) {
     hull(){
       translate([ -strap_around,
                  -pos_web_thick/2,
-                 (strap_thick + strap_around) / strap_fixing_slope ])
+                 -(strap_thick + strap_around) / strap_fixing_slope ])
        cube([ strap_around,
               pos_web_thick/2 - strap_width/2,
               0.5 ]);
       translate([ -strap_around,
-                 -strap_around,
+                 -(strap_around + strap_width/2),
                  0 ])
        cube([ strap_around*2 + strap_thick,
               strap_around,
               strap_fixing_height ]);
     }
+    mirror([0,1,0])
+      translate([ strap_thick,
+                 -strap_width/2,
+                 0 ])
+      cube([ strap_around,
+            strap_around + strap_width,
+            strap_fixing_height ]);
   }
 }