08-13-2022, 11:36 PM
A few years back, I had a project to do some jig boring of indexing plates on my tired and ancient milling machine. No CNC, no DRO, just a copy of "Machinery's Handbook" a calculator and some manual handcranks with lots of lash in the screws. It was a laborious job, for an old dude that needs reading glasses. So it occurred to me that this little utility could become a real shop tool with the addition of a bolt circle calculator SUB. It wasn't too challenging, all things considered.
Click on the bolt circle button and a no frills dialog opens querying for the number of holes and the radius of the circle. Then a button click on where the user would prefer the reference position to be. The result is a listing of the holes and their X & Y axis positions from the reference datum, in thousandths. That is followed by a chordal measurement between the hole centers to help with determining what size hole can be drilled without weakening the part. A red dashed crosshair marks the reference point on the screen.
The code and zip is updated in the original post.
Click on the bolt circle button and a no frills dialog opens querying for the number of holes and the radius of the circle. Then a button click on where the user would prefer the reference position to be. The result is a listing of the holes and their X & Y axis positions from the reference datum, in thousandths. That is followed by a chordal measurement between the hole centers to help with determining what size hole can be drilled without weakening the part. A red dashed crosshair marks the reference point on the screen.
The code and zip is updated in the original post.
DO: LOOP: DO: LOOP
sha_na_na_na_na_na_na_na_na_na:
sha_na_na_na_na_na_na_na_na_na: