blender_bpy
Installation
SKILL.md
Blender Python Automation (bpy)
Prerequisites
- Blender must be installed and accessible from the CLI (
blender --version). - Scripts run via:
blender --background --python <script.py> - For interactive use: connect via Blender's built-in Python console or the REST server addon.
Common Snippets
Create an object
import bpy
bpy.ops.mesh.primitive_cube_add(location=(0, 0, 0))
obj = bpy.context.object
obj.name = "MyCube"