chiark / gitweb /
quacks-ingredients: sort out Tests
[reprap-play.git] / quacks-ingredients.scad
index 5afdd19569f2e554955f41e9d0af5257006b7bba..50b38e0f0368befb283d07e3ce156e9eaa34bfc2 100644 (file)
@@ -86,14 +86,13 @@ module Token_L5(){
     Token_Spots();
 }
 
-module Frame(phase) {
+module Frame(phase, base_sz) {
   zs = [ initial_layer_thick,
         initial_layer_thick,
         thick,
         thick,
         thick ];
 
-  base_sz = token_dia * [ 6, 1.5 ];
   sz = base_sz + phase * initial_layer_width * 2 * [1,1];
   linear_extrude(height= initial_layer_thick) {
     difference(){
@@ -114,8 +113,9 @@ module Tests(){
   }
 }
 
-module Test_L() { ////toplevel
-  Frame($phase); Tests() Token_L();
+module Tests_L() { ////toplevel
+  Frame($phase, token_dia * [ 6, 1.5 ]);
+  Tests() Token_L();
 }
 
 //Demo();