Search results
Learn how to use Python to script Blender, the free and open source 3D creation suite. Find API reference, usage examples, best practices, tips, tricks, and advanced topics for Blender Python API.
- Blender 3.6.3 Release Candidate Python API
The context members available depend on the area of Blender...
- Data Access (bpy.data)
Data Access (bpy.data)# This module is used for all...
- Message Bus (bpy.msgbus)
Changes via the Python API, for example...
- Operators (bpy.ops)
Provides python access to calling operators, this includes...
- Types (bpy.types)
Blender Python API. Toggle Light / Dark / Auto color theme....
- Utilities (bpy.utils)
bpy.utils. keyconfig_init # bpy.utils. keyconfig_set...
- Path Utilities (bpy.path)
This module has a similar scope to os.path, containing...
- Application Data (bpy.app)
The location of Blender’s executable, useful for utilities...
- Blender 3.6.3 Release Candidate Python API
Blender provides its Python modules, such as bpy and mathutils, to the embedded interpreter so they can be imported into a script and give access to Blender’s data, classes, and functions. Scripts that deal with Blender data will need to import the modules to work.
This reference documents the Blender Python API, a growing collection of Python modules (libraries) that give access to part of the program's internal data and functions. Through scripting Blender can be extended in real-time via Python, an impressive high level, multi-paradigm, open source language. Newcomers are recommended to start with the ...
Accessing, adding, and removing masks is done in a simpler way: The Mesh.vertex_paint_mask property returns the attribute directly, rather than a collection. The Mesh.vertex_paint_mask_ensure() and Mesh.vertex_paint_mask_remove() functions add and remove the attribute.
Learn about the changes and additions to the Python API for Blender 3.4, including running Blender as a module, GPU rendering, mesh attributes, and more. Find out the breaking changes and deprecated features for the Text Editor module.
bpy is a package that provides Blender as a Python module for various purposes. It supports the same Python version as Blender and requires the same system requirements as Blender.
The Blender API, also known as bpy, is a powerful tool that allows you to interact with Blender using Python scripts. It provides access to Blender's internal data structures and functions, enabling you to automate repetitive tasks, create custom tools, and extend Blender's functionality.