blender-syntax-mesh

Create and modify Blender mesh data using Python APIs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code patterns for accessing, creating, and modifying mesh geometry within Blender, ensuring efficient and correct programmatic manipulation.

Core Features & Use Cases

  • Mesh Creation: Generate meshes from vertex/face data using from_pydata or high-performance foreach_set.
  • Data Access: Read vertex, edge, polygon, and UV data efficiently using iteration or foreach_get.
  • BMesh Workflows: Perform complex topology edits in Object or Edit Mode using the BMesh module.
  • Attributes & Normals: Manage custom attributes and custom normals across different Blender versions.
  • Use Case: Automatically generate a complex procedural terrain mesh by defining vertices and faces, then apply UV coordinates and custom normals for advanced rendering.

Quick Start

Use the blender-syntax-mesh skill to create a simple quad mesh with vertices at (0,0,0), (1,0,0), (1,1,0), and (0,1,0).

Frequently Asked Questions about blender-syntax-mesh

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

FAQPage Schema
How do I create a mesh from vertex and face data in Blender Python?

To create a mesh in Blender Python, use `from_pydata` for standard generation or `foreach_set` for high-performance creation from vertex and face arrays. This Skill provides code examples and decision trees for efficiently defining geometry data.

What is the best way to read mesh vertex and polygon data efficiently in Blender?

The best way to read mesh data efficiently is using the `foreach_get` method rather than standard iteration. This approach provides optimized access to vertex, edge, polygon, and UV layer data within your Python scripts.

When should I use BMesh instead of regular mesh data access in Blender?

Use BMesh when you need to perform complex topology edits in Object or Edit Mode. This Skill details BMesh workflows for advanced mesh manipulation, contrasting it with standard data access methods to help you choose.

Does this Blender mesh manipulation guidance cover custom normals and attributes?

Yes, it covers managing custom attributes and custom normals across Blender versions 3.x to 5.x. The Skill provides specific API references for handling these properties correctly in your Python code.

What are common anti-patterns and performance limitations when manipulating Blender mesh data?

Common limitations include using slow iteration instead of `foreach_get` or `foreach_set` for large datasets. This Skill addresses these anti-patterns directly, offering performance optimizations and correct programmatic manipulation techniques.

Can I manage UV layers programmatically using the Blender Python API?

Yes, you can manage UV layers programmatically using the Blender Python API. The Skill provides detailed API references and code examples for reading, writing, and applying UV coordinates to mesh geometry.