Open Source Bearing Generator in FreeCAD
Scripted Ball Bearing
Does it allow parameters to be changed readily? See article at [1]. This doesn't have a groove, so not useful for a real print.
This is a useful exercise. You can paste the Ball Bearing Script into the Python console of FreeCAD and you get the CAD - generated via command line. Neat example of scripting.
Ball Bearing via Sketch Rotation
Algorithm: Draw a cross section, then rotate it.
Base it on the OpenSCAD Bearing Generator.
See also: