blender

Model 3D scenes with Blender's bpy Python API and export glTF, STL, renders, and turntables.

465|41|Updated Aug 4, 2026
One-click install
npx skills add https://github.com/autonomous-ai/openharness --skill blender-autonomous-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: blender
Source: https://github.com/autonomous-ai/openharness/tree/main/store/agents/blender/skills/blender
Command: npx skills add https://github.com/autonomous-ai/openharness --skill blender-autonomous-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating 3D models, rendered shots, and turntable animations normally requires manual work in Blender's GUI; this Skill lets an agent build scenes programmatically with Blender's Python API (bpy) running headless, producing live-previewable glTF models, stills, and animations from code. ## Core Features & Use Cases - Programmatic 3D modeling: Build scenes from primitives, modifiers (Bevel, Subsurf, Boolean, Solidify), bmesh edit operations, curves, and text, organized into named collections with Principled BSDF materials. - Live glTF export and rendering: Export glTF with hierarchy, materials, cameras, lights, and animation for a live 3D viewer pane, plus Cycles still renders, turntable MP4s, and STL for 3D printing. - Use Case: Ask for a parametric enclosure or product mockup; the agent writes a scene script, exports out/model.glb for instant preview, renders a preview.png, and produces a turntable video and STL for printing. ## Quick Start Ask the agent to model a simple object like a mug in Blender, export it as a glTF, and render a preview image and turntable animation.

Frequently Asked Questions about blender

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

FAQPage Schema
How do I create 3D models with Blender Python (bpy) headless?

Run a script with the pinned Blender Python interpreter that uses bpy primitives like primitive_cylinder_add and primitive_cube_add, then apply modifiers such as Bevel or Subsurf. The harness_blender helper provides fresh(), frame_all(), and export_glb() to set up the scene, camera, and export in one import.

How to export glTF from Blender for a web 3D viewer?

Call export_glb("out/model.glb") from the harness_blender helper after building the scene. The export carries object names, hierarchy, materials, cameras, lights via KHR_lights_punctual, animations, and per-object facts like dimensions and triangle counts as glTF extras.

Can Blender headless render stills and turntable animations?

Yes. Use render("out/preview.png") for a still, optionally with engine="CYCLES" and 64 samples for a beauty shot, and turntable("out/turntable.mp4", seconds=4) for an orbiting animation. A small scene renders at 1280x720 in under a minute on CPU.

Does Blender bpy support exporting STL for 3D printing?

Yes, the harness_blender helper includes export_stl() for producing STL files suitable for printing. Scenes are set up in millimetres by fresh(), so models built at real size export with correct dimensions.

When should I use Geometry Nodes versus modifiers in Blender scripting?

Prefer standard modifiers and bmesh operations for most modeling, since hand-built Geometry Nodes trees are long to construct in code. Reserve Geometry Nodes (modifiers.new(type="NODES")) for requests that are procedural by nature.