X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=quacks-ingredients-counts.scad;fp=quacks-ingredients-counts.scad;h=80eec2fd10e1007c88758fa26a379678d5030d6d;hb=5a71ec62cbc229ecc398e46456e0617cea483a7b;hp=8aaeeb6e07cba962073d4d11f91db980dc792838;hpb=6d2cebf09bb8dcc5a6080c2c8bb2be566125286a;p=reprap-play.git diff --git a/quacks-ingredients-counts.scad b/quacks-ingredients-counts.scad index 8aaeeb6..80eec2f 100644 --- a/quacks-ingredients-counts.scad +++ b/quacks-ingredients-counts.scad @@ -4,7 +4,7 @@ module Black(){ ////toplevel // total=18, rowsz=5, nrows=4 union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.0, -1.5 ]) Token_L(); translate(token_pitch * [ -2.0, -0.5 ]) Token_L(); @@ -26,22 +26,22 @@ module Black(){ ////toplevel translate(token_pitch * [ 2.0, -0.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 2; }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 4; }; } module Blue(){ ////toplevel // total=34, rowsz=6, nrows=6 union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.5, -2.5 ]) Token_L(); translate(token_pitch * [ -2.5, -1.5 ]) Token_L(); @@ -59,7 +59,7 @@ module Blue(){ ////toplevel translate(token_pitch * [ -0.5, -1.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 2; translate(token_pitch * [ -0.5, -0.5 ]) Token_L(); translate(token_pitch * [ -0.5, 0.5 ]) Token_L(); @@ -73,11 +73,11 @@ module Blue(){ ////toplevel translate(token_pitch * [ 0.5, 2.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 4; translate(token_pitch * [ 1.5, -2.5 ]) Token_L(); translate(token_pitch * [ 1.5, -1.5 ]) Token_L(); @@ -94,7 +94,7 @@ module Blue(){ ////toplevel module Green(){ ////toplevel // total=38, rowsz=7, nrows=6 union(){ - Frame($phase, token_pitch * [ 7 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 7 + 1.00, 6 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -3.0, -2.5 ]) Token_L(); translate(token_pitch * [ -3.0, -1.5 ]) Token_L(); @@ -113,7 +113,7 @@ module Green(){ ////toplevel translate(token_pitch * [ -1.0, -0.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 7 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 7 + 1.00, 6 + 0.50 ]); $nspots = 2; translate(token_pitch * [ -1.0, 0.5 ]) Token_L(); translate(token_pitch * [ -1.0, 1.5 ]) Token_L(); @@ -127,11 +127,11 @@ module Green(){ ////toplevel translate(token_pitch * [ 1.0, -2.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 7 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 7 + 1.00, 6 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 7 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 7 + 1.00, 6 + 0.50 ]); $nspots = 4; translate(token_pitch * [ 1.0, -1.5 ]) Token_L(); translate(token_pitch * [ 1.0, -0.5 ]) Token_L(); @@ -151,7 +151,7 @@ module Green(){ ////toplevel module Orange(){ ////toplevel // total=20, rowsz=5, nrows=4 union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.0, -1.5 ]) Token_L(); translate(token_pitch * [ -2.0, -0.5 ]) Token_L(); @@ -175,22 +175,22 @@ module Orange(){ ////toplevel translate(token_pitch * [ 2.0, 1.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 2; }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 5 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 5 + 1.00, 4 + 0.50 ]); $nspots = 4; }; } module Purple(){ ////toplevel // total=15, rowsz=4, nrows=4 union(){ - Frame($phase, token_pitch * [ 4 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 4 + 1.00, 4 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -1.5, -1.5 ]) Token_L(); translate(token_pitch * [ -1.5, -0.5 ]) Token_L(); @@ -209,22 +209,22 @@ module Purple(){ ////toplevel translate(token_pitch * [ 1.5, 0.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 4 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 4 + 1.00, 4 + 0.50 ]); $nspots = 2; }; union(){ - Frame($phase, token_pitch * [ 4 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 4 + 1.00, 4 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 4 + 1.00, 4 ]); + Frame($phase, token_pitch * [ 4 + 1.00, 4 + 0.50 ]); $nspots = 4; }; } module Red(){ ////toplevel // total=30, rowsz=6, nrows=5 union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.5, -2.0 ]) Token_L(); translate(token_pitch * [ -2.5, -1.0 ]) Token_L(); @@ -240,7 +240,7 @@ module Red(){ ////toplevel translate(token_pitch * [ -0.5, -1.0 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 2; translate(token_pitch * [ -0.5, 0.0 ]) Token_L(); translate(token_pitch * [ -0.5, 1.0 ]) Token_L(); @@ -252,11 +252,11 @@ module Red(){ ////toplevel translate(token_pitch * [ 0.5, 2.0 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 4; translate(token_pitch * [ 1.5, -2.0 ]) Token_L(); translate(token_pitch * [ 1.5, -1.0 ]) Token_L(); @@ -273,7 +273,7 @@ module Red(){ ////toplevel module White(){ ////toplevel // total=32, rowsz=6, nrows=6 union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.5, -2.5 ]) Token_L(); translate(token_pitch * [ -2.5, -1.5 ]) Token_L(); @@ -297,7 +297,7 @@ module White(){ ////toplevel translate(token_pitch * [ 0.5, -1.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 2; translate(token_pitch * [ 0.5, -0.5 ]) Token_L(); translate(token_pitch * [ 0.5, 0.5 ]) Token_L(); @@ -309,7 +309,7 @@ module White(){ ////toplevel translate(token_pitch * [ 1.5, 0.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 3; translate(token_pitch * [ 1.5, 1.5 ]) Token_L(); translate(token_pitch * [ 1.5, 2.5 ]) Token_L(); @@ -317,14 +317,14 @@ module White(){ ////toplevel translate(token_pitch * [ 2.5, -1.5 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 6 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 6 + 0.50 ]); $nspots = 4; }; } module Yellow(){ ////toplevel // total=29, rowsz=6, nrows=5 union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 1; translate(token_pitch * [ -2.5, -2.0 ]) Token_L(); translate(token_pitch * [ -2.5, -1.0 ]) Token_L(); @@ -341,7 +341,7 @@ module Yellow(){ ////toplevel translate(token_pitch * [ -0.5, 0.0 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 2; translate(token_pitch * [ -0.5, 1.0 ]) Token_L(); translate(token_pitch * [ -0.5, 2.0 ]) Token_L(); @@ -351,11 +351,11 @@ module Yellow(){ ////toplevel translate(token_pitch * [ 0.5, 1.0 ]) Token_L(); }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 3; }; union(){ - Frame($phase, token_pitch * [ 6 + 1.00, 5 ]); + Frame($phase, token_pitch * [ 6 + 1.00, 5 + 0.50 ]); $nspots = 4; translate(token_pitch * [ 0.5, 2.0 ]) Token_L(); translate(token_pitch * [ 1.5, -2.0 ]) Token_L();