Gear generator with python, has a gui also