This is a cupholder that slots into the keyhole mounting slots of the heavy duty metal shelving I use in my hobby room.
I made this large enough to hold my Stanley Classic Legendary Camp Mug (Amazon) that I use for coffee in the morning but also with an inner ring to locate a can of “tasty beverage” later in the day.
This was made specifically to work with the Vevor 2000 lbs Capacity Heavy Duty Garage Shelves from Amazon but should fit some other heavy duty garage shelving that uses keyhole mounting slots spaced at 36mm apart.
I also tested with my “Gorilla Rack” branded shelves that I have in my garage but those mounting holes were spaced 39mm apart so I have also included a version with 39mm spacing.
I created this in OnShape; if you have a different hole spacing you can change the #RackHoleSpacing variable to suit in this model: https://cad.onshape.com/documents/4c5cbf626b14315962550d1f/w/188c526ba6abccdbcb0efa95/e/bab32ded198d18a6c01380f3?renderMode=0&uiState=65d3b70eb485ca0f3f327948