blender_execute_script
Run custom Python or bmesh scripts in Blender to perform mesh modeling operations on vertices, edges, and faces—extrude, bevel, and use full Blender API. Return results via a 'result' variable.
Instructions
Execute arbitrary Python/bmesh script in Blender's context. Enables real mesh modeling with vertices, edges, faces, extrusion, bevel, and full Blender API access. The script can import bmesh, mathutils, math, etc. Set a 'result' variable in the script to return data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Python script to execute in Blender. Has 'bpy' pre-loaded. Can import bmesh, mathutils, etc. | |
| timeout | No | Execution timeout in seconds (default: 30) |