Cinema 4D - Python plugins

From NoskeWiki

Revision as of 03:23, 2 February 2012 by WikiSysop (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

About

NOTE: This page is a daughter page of: Cinema 4D


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

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.


Other Pages

  • 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.

Links

  • Py4D videos - has some nice videos showing what's possible with Python in Cinema 4D (for R11.5).
  • Plugin Cafe - search the official discussion forum
  • Cinema 4D cafe - C4D users community and tutorials page
Personal tools