chiark / gitweb /
anke-gps-bracket: NestleCube: more bevels, before do via more triangles
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Dec 2012 18:21:32 +0000 (18:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 2 Dec 2012 18:21:32 +0000 (18:21 +0000)
anke-gps-bracket.scad

index d774efb..4fa97aa 100644 (file)
@@ -209,8 +209,9 @@ module NestleCubeCutout(ca,cb,d){
   }
 }
 
-module NestleCubeBevel(){
-  translate([-nestlebevel, -100, -0.1])
+module NestleCubeBevel(rot){
+  rotate([0,0,rot])
+    translate([-nestlebevel, -100, -0.1])
     rotate([0,30,0])
     cube([nestlebevel*2, 200, nestlebevel*5]);
 }
@@ -256,7 +257,8 @@ module NestleCube(){ ////toplevel
        #rotate([0,0,90]) NestleCubeCutout(cutd0, cutd1, nestlew);
       }
       translate([0,0,-nestleh]) {
-       translate([-nestledwr, 0, 0]) NestleCubeBevel();
+       translate([-nestledwr, 0, 0]) NestleCubeBevel(0);
+       translate([-nestlew+nestledwl, 0, 0]) NestleCubeBevel(180);
       }
     }
   }