This is a basic way to build a machine to cut spiral grooves inside any tube or gun barrel.
I was raised in semi-rural north eastern Ohio with an interest in hunting and some woodworking and little to no guidance in either. As a high school graduate in 1965, I was exposed to woodworking in our shop class and was permitted to build a stock for my original black powder rifle, an exercise probably forbidden today.