


You may want to copy into the module to the systems Python path, e.g.: See: build_files/cmake/config/bpy_module.cmake for supported default values, although you may want to adjust these depending on your usage. Manually: Change these CMake options from the defaults explained in building blender docs:Įverything should build as normal except in the cmake directory you will have.
#HOW TO MAKE A NEW INSTANCE IN BLENDER ON MAC INSTALL#
This is mainly limited to features which can be usable in background mode, so you cant for instance do OpenGL preview renders.ĭownload and install the Python3.x-framework from .Įasy (automated) way: see building blender docs for instructions, but run make bpy. development, accessing bpy from Python IDE's and debugging tools for example.importers, exporters (convert 3D file formats).video editing (using Blender's sequencer).image processing using Blender's compositor.This is a build option to be able to import blender into python and access its modules The option to build Blender as a Python module is not officially supported, in the sense isn't distributing it along with regular releases.Ĭurrently, its a build option you can enable, for your own use. However from the perspective of a Python developer, it can be useful to bring Blender into your existing scripts and access its feature set. This makes sense from the perspective of a user, who's primary needs are to have an application which can be extended with scripts. The official embeds a Python interpreter (CPython 3.x). Building Blender as a Python Module Overview
