Type “Holonomic” into the forum search dropdown, there are dozens of topics and some of the code you will find might even work. Here’s an old, but good and still valid, post from several years ago. At that time we were not programming in Python, but the concepts are still the same and Python code will look very similar.