Hobnail spreadsheet software for gear trains

Advert

Hobnail spreadsheet software for gear trains

Home Forums Workshop Tools and Tooling Hobnail spreadsheet software for gear trains

Viewing 25 posts - 1 through 25 (of 39 total)
  • Author
    Posts
  • #747487
    Adam Harris
    Participant
      @adamharris13683

      The late John Stevenson distributed this excel spreadsheet software “Hobnail” free to those interested. Originally built by Gary Evams (does not seem active on the forum), it takes inputs of which change gears you have and spits out the required gear train for the job. I am wondering if anyone has it and would they be kind enough to send me a copy. I have messaged Gary but no answer. Many thanks for any help. Adam

      Advert
      #747541
      DC31k
      Participant
        @dc31k

        Do you particularly need a stand alone spreadsheet?

        There are a few more modern alternatives.

        Ride the Gear Train software (https://ridethegeartrain.com/) does all sorts of things.

        Evolvent Design has some good stuff (https://evolventdesign.com/pages/calculators). Change gears are near the bottom on the left.

        This one is also good (http://ninoslavp.users.sbb.rs/WRI_en.html) You can look up where the .rs domain is located (Serbia).

        This, from Evolvent, is interesting side reading on the maths involved (https://www.patreon.com/posts/solving-gear-for-87487774). As well as the Pfauter book mentioned, there is a Barber Colemn one and another called 14000 gear ratios by Ray Page.

        Another survey of the maths: https://www.geartechnology.com/ext/resources/issues/0884x/orthwein.pdf

        Another change gear program here: https://conradhoffman.com/chsw.htm

        More: https://www.globalspec.com/reference/68675/203279/part-1-use-of-tables-for-simplified-change-gear-calculations

        Brocot tables here: https://locomat.loria.fr/merritt1947/merritt1947doc2.pdf

        #747598
        Adam Harris
        Participant
          @adamharris13683

          Thanks! I will check those out. John Stevenson referred to the Hobnail in his John F’s Workshop – Making Helical Gears.

          #747627
          Michael Gilligan
          Participant
            @michaelgilligan61133

            I have just found a reference which may be useful:

            https://www.polytechforum.com/modelengineering/gear-hobbing-54531-.htm

            Sorry, I can’t be bothered with that site’s cookie-rejection process, so I haven’t delved any deeper.

            MichaelG.

            #747699
            Adam Harris
            Participant
              @adamharris13683

              My assumption of the Hobnail programme (having never seen it!) is it is free, excel based so I can easily modify display/links as desired, and that one can enter all the change gears one has and the desired ratio output, then it spits out the gear train possibilities with the lowest error. Since it would sit on my own pc I wouldn’t have to keep re-entering constant values each time I want to use it. None of these other programmes do all that. So I am still hoping to find a copy of Hobnail…

              #747713
              Michael Gilligan
              Participant
                @michaelgilligan61133

                That’s why I posted the “maybe useful”  link, Adam

                … Was it no use ?

                MichaelG.

                .

                IMG_0038

                #747716
                Adam Harris
                Participant
                  @adamharris13683

                  It is kind of you Michael to offer your help and much appreciated. Those links are interesting but I prefer the Hobnail for incorporating all the features I mentioned above.

                  #747721
                  DC31k
                  Participant
                    @dc31k
                    On Adam Harris Said:

                    …one can enter all the change gears one has and the desired ratio output, then it spits out the gear train possibilities with the lowest error.

                    Spreadsheets are not good at doing what you describe (because they do not do well at iterating through lists). You have a list with ‘n’ items in it. Let us say you want only a simple gear train of A/B. How many possibilities are there for it to do an exhaustive search? Pick ‘n’=3 and try to write a spreadsheet that does this calculation. See how you would have to modify the spreadsheet to cope with changing ‘n’ to 4. Now see how you would have to modify the spreadsheet to make an A/B x C/D geartrain.

                    The mathematical gymnastics required for the task are much more suited to a general purpose programming language (Basic, C, Python, etc.) than the limited capabilities of a spreadsheet. These programs can be hidden behind a webpage where you only write input and look at output. That is why the majority of the programs you see are stand-alone bespoke applications and not based on a spreadsheet.

                    No doubt there is a spreadsheet Jedi who could make Excel do this work, but it is on the outer bounds of the design parameters of the program.

                    There is a spreadsheet here:

                    Workshop Calculations

                    It is free but requires you to send the author your email in order to receive the download link.

                    Another couple to add to your list:

                    NthreadsP here: https://www.lathes.co.uk/latheparts/page14.html

                    Look in Marv Klotz’ utilities as there is a program there. His website is offline at the moment but someone has mirrored the originals on GitHub and also translated a selection of them from C to Python.

                    Any standalone program that is not web-based would allow you to use a data file of the gears you have so you only ever enter the information once.

                    Please re-read the patreon post by Evolvent Design. It explains the maths behind the calculations (note how it explains that the Pfauter book, good though it is, is not exhaustive). Modern computers are so fast and so cheap that you now can do an exhaustive search of every possiblity with a few lines of programming but a spreadsheet is not the place to do this.

                    #747728
                    Michael Gilligan
                    Participant
                      @michaelgilligan61133
                      On Adam Harris Said:

                      It is kind of you Michael to offer your help and much appreciated. Those links are interesting but I prefer the Hobnail for incorporating all the features I mentioned above.

                      Sorry, Adam … I was evidently barking up the wrong tree.

                      I presumed that “It was for Giles that I produced the Hobnail Spreadsheet …“ meant that the author might be an active participant on that forum.

                      MichaelG.

                      #747752
                      Adam Harris
                      Participant
                        @adamharris13683

                        Thanks Michael, yes but that discussion on the polytech forum was 9 years ago. He did actually have a post here on ME a few years ago but since then has gone quiet. If I have no success sourcing Hobnail here then I will register on that forum and try to make contact. I am currently awaiting email response from Adam Stevenson. Thanks.

                        #747753
                        Grindstone Cowboy
                        Participant
                          @grindstonecowboy
                          On Adam Harris Said:

                          My assumption of the Hobnail programme (having never seen it!) is it is free, excel based so I can easily modify display/links as desired, and that one can enter all the change gears one has and the desired ratio output, then it spits out the gear train possibilities with the lowest error. Since it would sit on my own pc I wouldn’t have to keep re-entering constant values each time I want to use it. None of these other programmes do all that. So I am still hoping to find a copy of Hobnail…

                          Errm, IF you enable cookies, then Ride the Gear Train retains any settings, list of your gears, etc.

                          Until you delete all your cookies 🙂

                          Rob

                          #747757
                          JasonB
                          Moderator
                            @jasonb

                            Adam, read to the bottom of Michael’s link, last post was 1 year ago and he was still offering to share the file.

                            #747760
                            Adam Harris
                            Participant
                              @adamharris13683

                              Regarding the point that other programming software is more suitable for iterations than Excel, I take your point. However John  Stevenson found Hobnail useful enough so I would like to get it and see it. Other free software on the web seems to come on pages with a lot of ads and warnings from microsoft when starting to download onto my pc. At least Hobnail has been tested by an ME member without complaints of viruses/ad cookies etc. Frankly now that Alexa has become ubiquitous in homes including mine, I find unwanted ads hitting me from all directions all the time and I am very wary of risking any more.

                              #747761
                              Adam Harris
                              Participant
                                @adamharris13683

                                Ok thanks everyone I will try to get in touch with the creator Gareth Evams by joining that PolyTech forum.

                                #747767
                                Adam Harris
                                Participant
                                  @adamharris13683

                                  Many thanks but I don’t fancy downloading from that glue-it.com which seems to specialize in free software presumably in order to get downloaders onto spam and ad lists. I would prefer to get software from a known recommended source that doesn’t risk  bombardment by ads or contain viruses.

                                  #747769
                                  DC31k
                                  Participant
                                    @dc31k
                                    On Adam Harris Said:

                                    Many thanks but I don’t fancy downloading from that glue-it.com which seems to specialize in free software presumably in order to get downloaders onto spam and ad lists.

                                    Your choice. The author is here:

                                    https://www.ukworkshop.co.uk/threads/thread-cutting-change-gears.134512/

                                    and may not take kindly to your allegations about spam and ad lists. If you have some evidence to back up this statement, please present it.

                                    You mentioned John F’s Workshop. Have you found the page on his site mentioning this spreadsheet? He offers to send it to enquirers if you contact him. There is a post dated 02/02/24 by him on the site’s home page that gives his email address.

                                    Hobnail – software for computing gear train

                                    Please also see this one, which does what the spreadsheet does and saves the gear list as you desire:

                                    https://metal.duncanamps.com/software.php

                                    #747781
                                    Pete Rimmer
                                    Participant
                                      @peterimmer30576

                                      Hobnail is for calculating gear trains for hobbing it bears little resemblance to any of the threading gear train suggestions and they are no use at all for calculating ratios for helical hobbing. It’s like trying to use the alphabet for adding and subtracting.

                                      #747834
                                      Adam Harris
                                      Participant
                                        @adamharris13683

                                        Thanks Pete for the steer but I am not hobbing, rather I have in mind cutting helical gears with single involute cutters. I have more than one mill for cutting helical gears with an involute cutter and I especially like the function of being able to store machine data (leadscrew pitch and change gears in stock) on different excel sheets. The late John Stevenson used it and wrote that “Hobnail was written by Gareth Evans specially for computing gear trains for hobbing helical gears using a modified Jacobs gear hobber. For helical gear hobbing two gear trains are needed to a very high  degree of accuracy. But it can be used perfectly well for designing any sort of gear train.This software is written in VBA in an Excel spreadsheet. It is not available on the web”.

                                        #747837
                                        Adam Harris
                                        Participant
                                          @adamharris13683

                                          That metal.duncanamps.com software looks great ! I have downloaded it – many thanks. I still want to try Hobnail though :). Duncanamps does not store change gear stock data once programme closed nor does it link to other excel sheets one might tinker about with. It only does 4-gear trains whereas maybe Hobnail does longer trains (I do not know as have not seen Hobnail).

                                          #747850
                                          Charles Lamont
                                          Participant
                                            @charleslamont71117
                                            On Adam Harris Said:

                                            Duncanamps does not store change gear stock data once programme closed …

                                            Oh yes it does.

                                            #747853
                                            Adam Harris
                                            Participant
                                              @adamharris13683

                                              DC31k / Pete, I am sorry for getting confused somehow between johnfsworkshop.org and the late John Stevenson who I thought was the originator of the former. So this Hobnail reference by Johnfsworkshop.org actually has nothing at all to do with the late John Stevenson. I will go ahead and contact John F (no idea of his full name) to seek Hobnail.

                                              #747855
                                              Adam Harris
                                              Participant
                                                @adamharris13683

                                                Charles not when used on my pc  – I see no function to save anything. I am referring to the Hobber Gear Calculator  program , NOT the Myford ML7 Gear Calculator

                                                #747865
                                                Charles Lamont
                                                Participant
                                                  @charleslamont71117

                                                  My mistake.

                                                  #747935
                                                  DC31k
                                                  Participant
                                                    @dc31k

                                                    I am 99% sure this will not end well, because the language uses indentation as part of its syntax and this does not seem possible in a forum post. However, below is some Python code that might work out a few gear trains. Hopefully it is clear where, near the top of the program, the data is entered.

                                                    With the data below, it takes about 10 seconds on my computer to complete the a/b * c/d * e/f calculation.

                                                    from math import pi as pi # just in case someone needs module or DP
                                                    import sys # so program can exit gracefully if not enough gears listed
                                                    import itertools as it # permutions and combinations

                                                    “”” Fill list with gear sizes, separated by comma, order unimportant “””

                                                    gears = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61,
                                                    67, 71, 73, 79, 83, 89, 97]

                                                    required_gearing = pi/3 # enter gear ratio as fraction or decimal. pi/3 is OK

                                                    compounding_number = 2 # 1 = A/B; 2 = A/B * C/D; 3 = A/B * C/D * E/F

                                                    if len(gears) < 2 * compounding_number: # check we have enough gears
                                                    print (“Not enough gears to form requested compound chain”)
                                                    sys.exit()

                                                    layout = [“A/B”, “A/B * C/D”, “A/B * C/D * E/F”]

                                                    print (“Contents of gears”) # check gears correctly entered
                                                    print (gears, “\n”)
                                                    print (“Gear layout”, layout[compounding_number-1], “\n”)

                                                    “”” Main calculations start below “””

                                                    ratio=[] # empty list to store calculated ratio

                                                    def ab_train(): # A/B
                                                    for i in it.combinations(gears, 2): # pick two gears from list
                                                    r = i[0]/i[1] # calculate their ratio
                                                    y = [abs(r – required_gearing), (i), r] # abs item is error
                                                    ratio.append(y) # add to list
                                                    return ratio

                                                    def abcd_train(): # A/B * C/D
                                                    for i in it.combinations(gears, 4): # pick four gears from list
                                                    for j in it.combinations(i,2 ):
                                                    # pick two gears from the four already selected
                                                    k = tuple(set(i).difference(j)) # store the other two
                                                    r = (j[0]*j[1])/(k[0]*k[1]) # calculate ratio
                                                    y = [abs(r – required_gearing), (j, k), r] # abs item is error
                                                    ratio.append(y) # add to list
                                                    return ratio

                                                    def abcdef_train(): # A/B * C/D * E/F
                                                    for i in it.combinations(gears, 6): # pick six gears from list
                                                    for j in it.combinations(i, 3):
                                                    # pick three gears from the six already selected
                                                    k = tuple(set(i).difference(j)) # store the other three
                                                    r = (j[0]*j[1]*j[2])/(k[0]*k[1]*k[2]) # calculate ratio
                                                    y = [abs(r – required_gearing), (j, k), r] # abs item is error
                                                    ratio.append(y) # add to list
                                                    return ratio

                                                    “”” sometimes an A/B might give closer results than a compound train “””
                                                    “”” thus we must test all lower options even when a compound is requested “””
                                                    “”” example: gears = [2, 3, 5, 7, 9, 11] required_gearing = 7/9 “””
                                                    “”” no compound train will do better than the exact 7/9 “””

                                                    match compounding_number:
                                                    case 1: # A/B
                                                    ab_train()
                                                    case 2: # A/B * C/D
                                                    ab_train()
                                                    abcd_train()
                                                    case 3: # A/B * C/D * E/F
                                                    ab_train()
                                                    abcd_train()
                                                    abcdef_train()

                                                    best = min(ratio) # nearest combination is the one with minimum error
                                                    print (“Nearest to:”, required_gearing, best[1])
                                                    print (” Actual:”, best[2])
                                                    print (” Error:”, best[0])

                                                    #748009
                                                    Adam Harris
                                                    Participant
                                                      @adamharris13683

                                                      DC31k thanks but I am ignorant of many things and especially computer software so all that does not mean much to me.  I now have a copy of Hobnail and it works very well. For example, using a list of one of my change gear sets (64 gears in all) it calculated the best fitting gear train of 4 gears for my desired ratio (4.80517) in less than 2 seconds. It is in my opinion well laid out and very easy to use. I would like to improve it by having an option to choose between a gear train of 4 gears and a gear train of 6 gears. It only offers 4 gears in current form. It is written in VBA (Visual Basic for Applications) for excel and the coding is viewable and editable. Are you fluent in VBA too and would you be interested in modifying it?

                                                    Viewing 25 posts - 1 through 25 (of 39 total)
                                                    • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                                    Advert

                                                    Latest Replies

                                                    Viewing 25 topics - 1 through 25 (of 25 total)
                                                    Viewing 25 topics - 1 through 25 (of 25 total)

                                                    View full reply list.

                                                    Advert

                                                    Newsletter Sign-up