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

index 2ce691e9975526c9317d70fe23eb8e43e6bd67e8..1b2cb0eb1cd8f68a4dc6bd44c4666856154981e7 100644 (file)
@@ -27,7 +27,7 @@ bayo_above_gap = 1.0;
 
 bayo_entry = bayo_behind/3;
 
-bayo_slice_size = 10;
+bayo_slice_size = 1;
 
 // calculated
 
@@ -131,9 +131,10 @@ module BayonetCutoutSlice(offset){
 }
 
 module BayonetCutout(){
-  offs = [ for (i=[-5 : +5]) i ] * bayo_slice_size;
+  offs = [ for (i=[ bayo_c[0] :
+                   bayo_slice_size :
+                   bayo_i[0] + bayo_slice_size ]) i ];
   echo (offs);
-*    BayonetCutoutSlice(5);
   for (off =offs
         
         //[ -20 : bayo_slice_size : 20 ]