X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=screw-recess-test.scad;h=08fdf20d2cbaf6a468a963d9034794435b16b73b;hb=ba7c5b240dcdab5fa3f4e3f7823bb828551471f0;hp=c9913722b093a23011fe5f35e421d7cd6f19ccc3;hpb=0bb427f4924b61cccc1d2c863a1c930f683e3171;p=reprap-play.git diff --git a/screw-recess-test.scad b/screw-recess-test.scad index c991372..08fdf20 100644 --- a/screw-recess-test.scad +++ b/screw-recess-test.scad @@ -74,7 +74,7 @@ tests = [ screw_info_M2, screw_info_M3, screw_info_M4, - screw_info_M5, +2 screw_info_M5, screw_info_M6 ]; @@ -112,7 +112,7 @@ function Test_x(i) = i<=0 ? 0 : Test_x(i-1) + Test_blocksz(tests[i-1])/2 + Test_blocksz(tests[i])/2 - 3; module Tests(){ - for (i = [0]) { + for (i = [0:len(tests)-1]) { echo(i, Test_x(i)); translate([Test_x(i), 0, 0]) OneTest(tests[i]);