blender-core-api
Installation
SKILL.md
blender-core-api
Quick Reference
bpy Module Hierarchy
| Module | Purpose | Example |
|---|---|---|
bpy.data |
All blend-file data (ID data blocks) | bpy.data.objects["Cube"] |
bpy.context |
Current state (active object, mode, selection) | bpy.context.active_object |
bpy.ops |
Operators with undo support | bpy.ops.mesh.primitive_cube_add() |
bpy.types |
Type definitions for all Blender structs | class MyOp(bpy.types.Operator): |
bpy.props |
Property definitions for custom data | bpy.props.FloatProperty() |
bpy.utils |
Utility functions (registration, paths) | bpy.utils.register_class(cls) |
bpy.app |
Application info (version, handlers) | bpy.app.version |
bpy.path |
Blender-aware path utilities | bpy.path.abspath("//file.png") |
bpy.msgbus |
Message bus for property notifications | bpy.msgbus.subscribe_rna() |