Python Computer Graphics Kit


The Python Computer Graphics Kit is an Open Source software package containing a collection of Python modules, plugins and utilities that are meant to be useful for any domain where you have to deal with 3D data of any kind, be it for visualization, creating photorealistic images, Virtual Reality or even games.

Currently, the entire kit consists of the following parts:

  • The Python package cgkit that extends Python with 3D-related functionality.

  • The Maya plugin sourcepy that integrates the Python interpreter into Maya, and the accompanying Python package maya that makes Maya functionality available in Python.

  • A collection of small stand-alone utilities written in Python, MEL or MaxScript.

cgkit features:

Python/Maya features:

  • Integrates the Python interpreter into Maya by providing two new MEL commands py and pySource that can execute Python source code.
  • Provides dynamic Python wrappers around all MEL commands found in Maya.
  • Provides new convenience classes for creating GUIs
  • Exposes the Maya C++ SDK to Python
  • Allows writing plug-ins in Python