Our head of 3D James gives you the lowdown on Python.

_ _18/08/2020 from James

Python is an easy to learn but powerful programming language used in 3D software. In this instance we’re using it for Cinema 4D. In this tutorial series, I’ll be going over how to approach Python within C4D by creating an automated batch function. You don’t need to be a ‘Python wizard’, but knowing some of the basics (conditions and loops) will be a big help.

I’ve tried to keep things as simple as possible, but it should open the doors for you to try out more exciting experiments. The aim was to supply you with enough knowledge to apply to your own projects, rather than to restrict you to mine.

Reference material and documentation.

C4D/Python documentation:
https://developers.maxon.net/docs/Cinema4DPythonSDK/html/index.html

I’d like to give credit where it’s due, so here are the references that allowed me to create the pop-up dialogue:

https://github.com/PluginCafe/cinema4d_py_sdk/blob/master/plugins/Py-CVRss/Py-CVRss.pyp
https://andrewnoske.com/wiki/Cinema_4D_-_my_Python_scripts_-_object_parent_child_renamer

For anyone planning to create and share plugins, here’s how to request for a plugin ID:
https://developers.maxon.net/?page_id=3224