chiark / gitweb /
cable-hole-trunking-cover: break back wall out properly, nfc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 19:45:35 +0000 (19:45 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Dec 2012 19:45:35 +0000 (19:45 +0000)
cable-hole-trunking-cover.scad

index 07daa9d..c1b06e0 100644 (file)
@@ -45,15 +45,17 @@ module Base(){
     translate([basex/2, 0, -1])
       cylinder(r=holedia/2, h=bevelz+2);
   }
-  difference(){
-    for (mir=[0,1]) mirror([0,mir,0]) {
-      rotate([90, 0, 90])
-       linear_extrude(height=endwallt)
-       polygon([[-0.1,             0],
-                [basey/2,          0],
-                [basey/2 + bevely, bevelz],
-                [basey/2 + bevely, innerz],
-                [-0.1,             innerz]]);
+  rotate([90, 0, 90]) {
+    linear_extrude(height=endwallt) {
+      difference(){
+       for (mir=[0,1]) mirror([mir,0,0]) {
+           polygon([[-0.1,             0],
+                    [basey/2,          0],
+                    [basey/2 + bevely, bevelz],
+                    [basey/2 + bevely, innerz],
+                    [-0.1,             innerz]]);
+       }
+      }
     }
   }
 }