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.
- 11.5.0 Mocha Pro 2024.5 Python Guide For use with Mocha Pro 2024.5
- 10.0.0 Mocha Pro 2023 Python Guide For use with Mocha Pro 2023
- 9.5.6 Mocha Pro 2022.5 Python Guide For use with Mocha Pro 2022.5
- 9.5.0 Mocha Pro 2022.5 Python Guide [PDF]: For use with Mocha Pro 2022.5
- 9.0.0 Mocha Pro 2022 Python Guide For use with Mocha Pro 2022
- 8.0.0 Mocha Pro 2021 Python Guide [PDF]: For use with Mocha Pro 2021
- 7.0.0 Mocha Pro 2020 Python Guide For use with Mocha Pro 2020
- 6.0.0 Mocha Pro 2019 Python Guide [PDF]: For use with Mocha Pro 2019
- 5.6.0 Mocha Python Guide [PDF]: For use with Mocha Pro and Mocha VR 5.6.0
- 5.5.2 Mocha Python Guide [PDF]: For use with Mocha Pro and Mocha VR 5.5.2
The online Python API Reference convers all the classes and methods in the API.
- 11.5.0 Mocha Pro 2024.5 Python API Reference Documentation
- 10.0.0 Mocha Pro 2023 Python API Reference Documentation
- 9.5.0 Mocha Pro 2022.5 Python API Reference Documentation
- 9.0.0 Mocha Pro 2022 Python API Reference Documentation
- 8.0.0 Mocha Pro 2021 Python API Reference Documentation
- 7.5.1 Mocha Pro 2020.5 Python API Reference Documentation
- 6.0.0 Mocha Pro 2019 Python API Reference Documentation
- 5.6.0 Mocha Python API Reference Documentation
- 5.5.2 Mocha Python API Reference Documentation
For more information on Python, please see the Python website.