Blender Automation Skill
Goal: Manipulate 3D assets and maps without opening the GUI.
Capabilities
1. Headless Rendering
Render sprite sheets or thumbnails.
bash
blender -b file.blend -P scripts/blender/render_sprite.py -- ...
2. Mesh Processing
Fix normals, apply modifiers, export to AKM/A3D.
Action: Create a temp script importing io_asciicker and running operators.
3. Map Generation
Procedurally generate terrain.
Action: Run bpy.ops.asciicker.create_terrain() via background script.
Rules
- •Always use
-b(background) for automation. - •Always check
bpy.opsreturn set for{'FINISHED'}. - •Visual Verify: If rendering, generate a
.pngartifact for user review.