Python Code Stuff

Gage Block Buildup

Here is a python script for taking a list of gage blocks and finding all of the combinations you can use to get there. I did this when I was thinking about incomplete gage block sets that have been really pilfered. Could you still reach certain values if you were missing blocks? Of course, I’ve limited it to a specific number of max results since even in a small 36 pc set the combinations go up into the 100’s or more. For example, the size I have in code here at .470 in the large gage block list is a little over 2300 results. Play around with it.