blender-scripting

Automate Blender asset creation and scene manipulation via the bpy Python API.

Updated May 18, 2026
One-click install
npx skills add https://github.com/afovea/game-dev-skills --skill blender-scripting-afovea
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender-scripting
Source: https://github.com/afovea/game-dev-skills/tree/main/plugins/game-tech/skills/blender-scripting
Command: npx skills add https://github.com/afovea/game-dev-skills --skill blender-scripting-afovea

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates manual, repetitive tasks in Blender by providing a robust framework for headless and in-editor Python automation, ensuring consistent asset pipelines and scene management.

Core Features & Use Cases

  • Headless Automation: Execute complex Blender operations from the command line without launching the GUI, perfect for CI/CD pipelines.
  • Batch Processing: Apply uniform transformations, exports, or data modifications across hundreds of .blend files simultaneously.
  • Scene Manipulation: Programmatically query, modify, or generate scene data, custom properties, and object hierarchies using the bpy API.

Quick Start

Use the blender-scripting skill to write a script that iterates through all objects in the current scene and exports each mesh as a separate GLB file to the output directory.

Frequently Asked Questions about blender-scripting

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

FAQPage Schema
How do I automate Blender workflows with Python using the bpy API?

You automate Blender workflows with Python by using the bpy API to programmatically query, modify, or generate scene data, custom properties, and object hierarchies, ensuring consistent asset pipelines and scene management without manual GUI interaction.

How do I run Blender headless for batch processing .blend files?

Run Blender headless by executing command-line operations without launching the GUI. This allows you to apply uniform transformations, exports, or data modifications across hundreds of .blend files simultaneously for reliable pipeline integration.

What is the best way to export meshes as GLB files from a Blender scene?

The best way to export meshes as GLB files is to write a Python script that iterates through all objects in the current scene and exports each mesh as a separate GLB file to your specified output directory.

Does Blender scripting require explicit path handling for CI/CD pipelines?

Yes, Blender scripting requires explicit path handling and adherence to data-block API standards. This ensures reliable pipeline integration when executing complex operations in CI/CD environments.

Can I modify the scene graph and custom properties programmatically in Blender?

Yes, you can programmatically modify the scene graph and custom properties. The bpy API allows you to query, modify, or generate scene data and object hierarchies to eliminate manual, repetitive tasks.