If anyone is still using this old script for gears, there is now a small update to fix issues related to when a circle has been edited via boxEdit (thanks to @Ian for pointing this out).
VBscript version (2020.09.08): gearGen.rvb (23.3 KB)
Also, I went ahead and ported the script into python. If you want to take it for a spin, let me know if you see any glaring bugs.
Python version (2020.09.10): GearFromCircle.py (21.9 KB)
Note1: The python version is renamed as “GearFromCircle”
Note2: The python version is coded in an object oriented approach and is smaller; hopefully easier to read if anyone wants to continue it’s development in the future by adding features and such