To round this off:
I’ve added code to draw a matching roller chain link plate, so all assets for a roller chain / sprocket rendering are in one place. The SVG code for the plate is also logged to the console.
Extended CodePen
If you import the outline into Blender (or comparable) and add a little effort, you may end up with something like this:
Sprocket_fancy15.glb (415.9 KB)