Mocha Python API

The Mocha Python API provides easy Python access to Mocha functions, such as project creation and management, spline creation, layer control, exports and rendering.

The Mocha Python API is available for Mocha Pro 4 and above and runs from a version of Python (2.7.6) installed with Mocha.

Resources

The Mocha Pro Python Guide is a step-by-step walkthrough of the API including detailed examples. This is also available offline in the Mocha Pro help menu.

The online Python API Reference convers all the classes and methods in the API.

For more information on Python, please see the Python website.