Cinema 4D - Python plugins
This page is to help you get started creating your own python plugins for Cinema 4D (C4D). Python is a relatively new addition to Cinema 4D, and unfortunately I haven't learnt it yet (it's on my to-do list), so for now this page is incomplete. I will however, provide some useful links I've found on the topic. One important thing to note is that python in Cinema 4D began as "Py4D".com for R11.5, however as of R12, python is built into C4D, and although the structure of both looks similar there are some differences.
The STK documentation (in HTML format) for Python in R12 (as well as C++ and COFFEE) can be downloaded from the Maxon website here. Unfortunately there is no online version and the documentation itself is still a bit lacking. The online help forum is about your only option when you run into trouble.
Tutorials for Creating Python Plugins in Cinema 4D
- Cineversity's Python tutorials - set of three video tutorials for Python in R12, although you'll have to create a free account before you can see these.
- Cinema 4D - C++ plugins - here (unlike this page) I've actually written a fairly good tutorial on using the C4D C++ API.
- Cinema 4D - COFFEE - COFFEE is Cinema4D's own scripting language which has a much smaller learning curve than the C++ or python option, and lets you attach code to objects in your scene for dynamic simulations.