blender_scene
Manage Blender scenes: create, clear, list, or set active scenes; link objects; create collections; configure lighting, camera, and render settings.
Instructions
Comprehensive scene management for Blender.
Supports multiple operations through the operation parameter:
create_scene: Create a new scene
list_scenes: List all scenes in the file
clear_scene: Clear all objects from current scene
set_active_scene: Set the active scene
link_object_to_scene: Link object to a scene
create_collection: Create a new collection
add_to_collection: Add object to collection
set_active_collection: Set the active collection
set_view_layer: Set active view layer
setup_lighting: Set up scene lighting
setup_camera: Set up scene camera
set_render_settings: Configure render resolution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | Scene operation type | list_scenes |
| scene_name | No | Name for scene operations | NewScene |
| object_name | No | Name of object for linking operations | |
| collection_name | No | Name for collection operations | |
| layer_name | No | Name for view layer operations | |
| light_type | No | Type of light (SUN, POINT, SPOT, AREA) | SUN |
| location | No | Position as [x, y, z] for camera/light | |
| rotation | No | Rotation as [x, y, z] for camera | |
| resolution_x | No | Render width in pixels | |
| resolution_y | No | Render height in pixels |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |