chiark / gitweb /
commitid-cube-test: Fix indent, ws, comments (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 16:16:02 +0000 (16:16 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 16:16:02 +0000 (16:16 +0000)
commitid-cube-test.scad

index 4bcef05011d39d727712023323158c047c304c86..3da624c53922a1420ce6cb9a7ac18d716105e5fa 100644 (file)
@@ -34,11 +34,10 @@ ru = Commitid_pixelsz();
 
 module TTWall () {
   difference(){
-      translate([0, 0, -0.1])
-       cube([w, sz, sz - t + 0.1]);
+    translate([0, 0, -0.1])
+      cube([w, sz, sz - t + 0.1]);
 
     translate([0,sz,0]) rotate([90,0,-90]) FD();
-
     translate([0, sz, 0])
       rotate([90, 0, -90])
       translate(fdo + [0, -ru*2, -d]) cube([fdsz[0], ru, d*2]);
@@ -48,18 +47,15 @@ module TTWall () {
   translate([0, sz+d, 0])
     rotate([90,0,0])
     translate([0, fdo[1], 0]) cube([d*2, fdsz[1], ru]);
-  //!cube([fdsz[1], fdsz[0], 1]);
 }
 
 module TT () { ////toplevel
   difference(){
-    union(){
-      translate([-sz, 0, -t])
-       cube([sz*2 + w, sz, t]);
-    }
+    translate([-sz, 0, -t])
+      cube([sz*2 + w, sz, t]);
+
     translate([w,0,-t]) rotate([0,180,0]) FD();
     translate([w,0,0]) rotate([0,0,0]) FD();
-
   }
   translate([-sz,0,0]) rotate([0,0,0]) FD();