Co-ordinate positioning for circle of holes (not all equally spaced)

Advert

Co-ordinate positioning for circle of holes (not all equally spaced)

Home Forums Help and Assistance! (Offered or Wanted) Co-ordinate positioning for circle of holes (not all equally spaced)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #766042
    Zebethyal
    Participant
      @zebethyal

      Hi There,

      Does anyone have a method for calculating co-ordinate positioning for a ring of holes that are not all equally spaced.

      There are a number of PCD calculators out there, however these all assume that the number of holes are all equally spaced.

      My requirement is for the 99% of the holes to be equally spaced, but the gap between the first and last may not be the same as for the rest.

      A couple of examples:

      Screenshot 2024-11-22 at 10.38.49Screenshot 2024-11-22 at 10.39.01

      Both are variations on plates that can be used on a Spin Indexer to generate a 127 tooth gear, the first has 127 holes on 3 different pitch circles (OxTools variant), the second uses a 5 hole vernier to achieve the same result with 26 holes (RJSakowski on the Hobby-Machinist forum).

      The OxTool one actually does fit a PCD if it is large enough, but the reduced version has every second hole moved to a second pitch circle and the last one to a third.

      The gap between the first and last hole, on a given pitch circle, is different for both of these compared to all the other holes.

      The 5 hole vernier for the second variant may have the same issue as again a full circle of holes may not have the first and last equally spaced.

      I guess I could calculate them all in a spreadsheet using trigonometry, I just need to get my head around the associated maths.

      Advert
      #766050
      JasonB
      Moderator
        @jasonb

        If you have the 3D CAD, just produce a 2D drawing from that and dimension the holes as needed. I would suggest X and Y from the middle.

        #766059
        Zebethyal
        Participant
          @zebethyal

          Many thanks Jason, that is of course a viable option and one I had only vaguely considered.

          I created the above in SketchUp, but could probably create in Fusion360 just as easily, which would be more suited to creating the 2D ‘dimensionable’ version.

          #766108
          DC31k
          Participant
            @dc31k

            As Fusion is the offspring of AutoCAD, ACAD has a ‘list’ command, that you could select entities and it would write their properties into the text window.

            Put a point entity at the centre of each hole, select all of them and ‘list’ to the console.

            A variation on this is to save just the point entities into an ASCII dxf file and open that in a text editor to extract the information.

            The utility of the textual information might be dependent on the order in which you create the points. they would list in creation order, so create them systematically and they will list systematically.

            If you tell us PCD, first hole bearing from due north and angular increment, we could do the maths independently as a check on your own work.

            The easiest way to obtain these in a spreadsheet is to use polar coordinates. x = r cos(theta) and y = r sin(theta). The angle is measured anticlockwise from the horizontal positive x-axis (mathematical and navigational angles are measured in different directions). For the Ox one, with two hole circles, the outer thetas would be 0, 2/127 * 360, 4/127 *360, 6/127 * 360 etc. The first hole on that outer circle would be at three o’clock. For the first hole on the inner circle, start at 1/127 * 360 and then 3/127 * 360, 5/127 * 360 etc.

            #766129
            Zebethyal
            Participant
              @zebethyal

              Many thanks DC31k,

              That has allowed me to build a spreadsheet that can calculate the holes for both discs based on the centre being 0,0 and position 0 at 3 o’clock, as you mention.

              For the OxTools one, PCDs are 45, 40 and 35mm, pick even numbers for outer, odd numbers for middle and #126 for inner ring.

              Screenshot 2024-11-22 at 14.21.10

              For the other one, PCD is 2.4″ (60.96mm) I need to pick every 5th hole for the ring

              Screenshot 2024-11-22 at 14.21.24

              Just had to remember to convert the angle to radians before the trig function for it to work correctly in Excel.

              #766164
              DC31k
              Participant
                @dc31k

                I do not know if this might help with displaying the results, but you can use the MOD() (remainder from division) function to show or hide stuff automagically.

                On the first one, if you do MOD(hole_number, 2) you see 0 or 1 depending on if the number is odd or even. So if you multiply the cell result by this, it either gives what you want or shows zero. To do the ‘opposite hand’ of this, use MOD(hole_number-1, 2) to flip the correspondence of 0 and 1 with odd and even.

                You can combine or substitute this with an IF statement to show a completely blank cell instead of a zero:

                IF(MOD(hole_number, 2), <formula to display value>, “”)

                This logic can be extended to accommodate the ‘show one in five’ option – IF(MOD(hole_number, 5), etc.) would get you all non-multiples of five – IF(NOT(MOD(hole_number, 5), etc.) should get all exact multiples of five.

              Viewing 6 posts - 1 through 6 (of 6 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