This .scad will generate a ball bearing retention ring of any size you want with any number of balls!
Are you sure you want to continue?