blender-core-api

Guide Blender Python API usage for bpy scripts and addons.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-core-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender-core-api
Source: https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/core/blender-core-api
Command: npx skills add https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-core-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and examples for using the Blender Python API (bpy), enabling users to automate tasks, create add-ons, and interact with Blender's data and functionality programmatically.

Core Features & Use Cases

  • API Navigation: Understand the structure of bpy.data, bpy.context, bpy.ops, and bpy.types.
  • Data Manipulation: Learn patterns for accessing, creating, and modifying Blender data blocks.
  • Operator Invocation: Master context overrides and safe operator calls.
  • Version Compatibility: Navigate API changes across Blender versions (3.x, 4.x, 5.x).
  • Use Case: Develop a custom Blender add-on to procedurally generate architectural models by scripting object creation, material assignment, and modifier application.

Quick Start

Use the blender-core-api skill to learn how to create a new mesh object with vertices and faces.

Frequently Asked Questions about blender-core-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use the Blender Python API to create a new mesh object with vertices and faces?

To use the Blender Python API for mesh creation, access `bpy.data` to generate a new mesh block, define vertices and faces arrays, then link it to an object in the scene context. This Skill provides structural guidance for navigating `bpy.types` and data manipulation patterns.

What is the correct way to invoke operators in bpy scripts without context errors?

Invoking operators in bpy scripts requires understanding context overrides and safe operator calls. This Skill explains how to master context overrides within the `bpy.ops` module to prevent errors when executing operations programmatically outside the standard UI context.

Can I use the Blender Python API with Blender 4.x or 5.x versions?

Yes, the Blender Python API works with Blender 3.x, 4.x, and 5.x versions. This Skill helps you navigate API changes across these versions, ensuring your scripts and add-ons maintain compatibility when accessing Blender data blocks programmatically.

How does the bpy RNA data system work when accessing Blender data blocks programmatically?

The bpy RNA data system provides structured access to Blender's internal data blocks via `bpy.data`. This Skill covers RNA data access patterns and the dependency graph, enabling you to safely read, create, and modify meshes, objects, and materials.

What's the best way to develop a custom Blender add-on for procedural model generation?

Developing a custom Blender add-on for procedural generation involves scripting object creation, material assignment, and modifier application using `bpy`. This Skill guides you through the `bpy.types` registration system and API navigation to build functional add-ons.