blender-syntax-panels

Define Blender Python UI panels, menus, and UI lists with the bpy API.

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-syntax-panels
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender-syntax-panels
Source: https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/blender/syntax/blender-syntax-panels
Command: npx skills add https://github.com/OpenAEC-Foundation/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill blender-syntax-panels

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code patterns for creating custom user interfaces (panels, menus, UI lists) within Blender, ensuring your addons are intuitive and functional.

Core Features & Use Cases

  • Panel Creation: Learn to define bpy.types.Panel classes, set their properties (bl_space_type, bl_region_type, bl_category), and implement the draw() method.
  • UI Layout API: Master UILayout methods like row(), column(), box(), split(), and the modern layout.panel() for organizing UI elements.
  • Advanced UI Elements: Implement sub-panels, header controls (draw_header), popover panels, pie menus, and custom UIList widgets.
  • Use Case: You need to build a custom addon for Blender that adds a new tab to the 3D Viewport's sidebar, containing several sliders and buttons to control object properties. This Skill provides the exact code structure and best practices to achieve this.

Quick Start

Create a basic Blender panel that displays 'Hello, World!' in the 3D Viewport's sidebar under a tab named 'My Tab'.

Frequently Asked Questions about blender-syntax-panels

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

FAQPage Schema
How do I create a custom panel in the Blender 3D Viewport sidebar using bpy?

To create a custom Blender panel, define a `bpy.types.Panel` class, set its `bl_space_type`, `bl_region_type`, and `bl_category` properties, and implement the `draw()` method to construct your UI layout.

What is the best way to structure Blender addon UI layouts with rows and columns?

The best way to structure Blender addon UI is using `UILayout` methods like `row()`, `column()`, `box()`, `split()`, and `layout.panel()` to organize elements logically and ensure your interface is intuitive.

Does this Blender UI syntax guide cover version-specific features for Blender 4.x?

Yes, this guide covers version-specific features and syntax for Blender 3.x, 4.x, and 5.x, ensuring your custom panels, menus, and UI lists remain compatible across different Blender versions.

How do I implement a custom UIList in a Blender addon?

You can implement a custom `UIList` widget in Blender by defining the appropriate class and using the bpy API to handle drawing and data interaction, with practical code examples provided for robust addon interfaces.

What are common anti-patterns when building Blender Python UI elements?

Common anti-patterns when building Blender Python UI elements include incorrect panel registration, improper `poll` method usage, and inefficient `UILayout` construction, which this guidance addresses to ensure robust addon interfaces.

Can I add pie menus and popover panels to my Blender addon?

Yes, you can add advanced UI elements like pie menus, popover panels, and sub-panels with header controls to your Blender addon using the provided code patterns and the bpy API.