Free 186 More Best Homemade Tools eBook:  
Get 2,000+ tool plans, full site access, and more.

User Tag List

Results 1 to 6 of 6

Thread: Stacking Gage Blocks

  1. #1
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,278
    Thanks
    735
    Thanked 2,764 Times in 650 Posts

    rgsparber's Tools

    Stacking Gage Blocks

    This article presents two procedures that can be used to build precision heights from gage blocks. One is simpler to use but can require one more block than absolutely necessary. In no time you will be able to look at the target height and immediately start pulling the correct blocks. The other procedure is more complex but minimizes the number of blocks needed.

    I have tried my best to verify that these two procedures always give the correct results. If anyone finds a problem, please let me know so I can correct it.

    If you are interested, please see

    http://rick.sparber.org/SPGB.pdf

    Your comments are welcome. All of us are smarter than any one of us.

    186 More Best Homemade Tools eBook

  2. The Following 2 Users Say Thank You to rgsparber For This Useful Post:

    kbalch (Dec 14, 2015), Paul Jones (Dec 14, 2015)

  3. #2
    Supporting Member mklotz's Avatar
    Join Date
    Aug 2015
    Location
    LA, CA, USA
    Posts
    3,437
    Thanks
    357
    Thanked 6,391 Times in 2,118 Posts

    mklotz's Tools
    My SPACEBLK program (available on my site) provides your simpler (ie fewer block) solutions to two of your examples...

    1.2345 = 1.0000 + 0.1340 + 0.1005

    and

    1.7523 = 1.0000 + 0.5500 + 0.1020 + 0.1003


    Finding an algorithm to always produce the minimum block solution is very tricky. It's made even more complex by the fact that there is no good way to test any candidate algorithm other than trying each possible stack size.

    After discarding several candidate algorithms I finally bit the bullet and in SPACEBLK implemented an exhaustive search routine that is reliable but computationally intensive. Fortunately, CPUs are idle most of the time so they enjoy a bit of intensive exercise every so often.
    One advantage of SPACEBLK is that it uses a data file for the block sizes so one can substitute other files for smaller block sets and its namesake spaceblocks.

    2000 Tool Plans
    ---
    Regards, Marv

    Home Shop Freeware
    https://www.myvirtualnetwork.com/mklotz

  4. The Following 2 Users Say Thank You to mklotz For This Useful Post:

    Jon (Dec 13, 2015), Paul Jones (Dec 14, 2015)

  5. #3
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,278
    Thanks
    735
    Thanked 2,764 Times in 650 Posts

    rgsparber's Tools
    Marv,

    I am hereby humbled! With some very fast footwork, I have dropped my claim for finding the minimum number of blocks and will just claim that my first procedure has minimal arithmetic. For most hobby work, having 4 blocks is still plenty accurate. For those that want the minimum number of blocks, I point them to your web site and SPACEBLK. See http://rick.sparber.org/SPGB.pdf

    Thanks for keeping me out of trouble!

    Rick

  6. The Following 2 Users Say Thank You to rgsparber For This Useful Post:

    Jon (Dec 13, 2015), Paul Jones (Dec 14, 2015)

  7. #4
    Supporting Member mklotz's Avatar
    Join Date
    Aug 2015
    Location
    LA, CA, USA
    Posts
    3,437
    Thanks
    357
    Thanked 6,391 Times in 2,118 Posts

    mklotz's Tools
    My intention certainly wasn't to humble you. A minimum block solution is perhaps intellectually appealing but certainly isn't required for the vast majority (maybe all) of work done in amateur shops.

    Mathematically it's fascinating (at least to me) that such a seemingly simple problem can pose such difficulties in finding a minimal solution algorithm. In SPACEBLK I was forced to write a dynamic loop-within-loop exhaustive search code that would successively try first one block, then two, etc. solutions in order to guarantee finding the minimum. It's mathematically ugly but it seems to work, though at the expense of more time to find the solution.

    Surprisingly, the human mind is very good at finding a solution via the time-honored method of eliminating digits from right to left. Nevertheless, having a computer algorithm is handy for incorporating into other programs where a stack is calculated. My SINEBAR program uses the SPACEBLK algorithm to show the blocks needed to form the stack height calculated for the sine bar.
    ---
    Regards, Marv

    Home Shop Freeware
    https://www.myvirtualnetwork.com/mklotz

  8. #5
    Supporting Member rgsparber's Avatar
    Join Date
    Nov 2012
    Location
    Phoenix, AZ
    Posts
    1,278
    Thanks
    735
    Thanked 2,764 Times in 650 Posts

    rgsparber's Tools
    Marv,

    I meant "humbled" in a very positive way. I am grateful to you for opening my eyes to the complexity and beauty of this problem.

    Thanks!

    Rick

  9. #6
    Content Editor
    Supporting Member
    DIYer's Avatar
    Join Date
    Aug 2013
    Posts
    3,056
    Thanks
    772
    Thanked 1,852 Times in 1,653 Posts
    Thanks Rick! We've added your Precision Gauge Block Height Setup to our Measuring and Marking category, as well as to your builder page: Rick Sparber's Homemade Tools. Your receipt:




    186 More Best Homemade Tools eBook

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •