chiark / gitweb /
poster-tube-lid: BayonetCutout rotation thing
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 01:27:23 +0000 (02:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 01:27:23 +0000 (02:27 +0100)
poster-tube-lid.scad

index 1b2cb0eb1cd8f68a4dc6bd44c4666856154981e7..c4847c91012f4fcaa6c28afe540fc3e067ff52ff 100644 (file)
@@ -121,7 +121,7 @@ module BayonetCutoutSlice(offset){
        polygon(bayo_polygon);
       translate([0,0, -25])
        cylinder(h=50, r= main_dia/2 + rivet_tall);
-      #translate([0,0, -25])
+      translate([0,0, -25])
        linear_extrude(height= 50)
        polygon([ [ 0,0 ],
                  [ -bayo_slice_size, -main_dia ],
@@ -135,14 +135,8 @@ module BayonetCutout(){
                    bayo_slice_size :
                    bayo_i[0] + bayo_slice_size ]) i ];
   echo (offs);
-  for (off =offs
-        
-        //[ -20 : bayo_slice_size : 20 ]
-       ){
-    translate([ off * 5, 0,0 ])
-    echo(off);
+  for (off=offs)
     BayonetCutoutSlice(off);
-  }
 }
 
 module ProfilesDemo(){