apply_material
Apply a procedural material preset like metal, plastic, rubber, glass, or wood to a mesh object, optionally setting a custom color.
Instructions
Apply a procedural material preset (metal, plastic, rubber, glass, wood) to a mesh.
Args: object_name: Mesh object name in the scene. preset: One of the presets from blender_status.materials. color: Optional RGB or RGBA floats 0-1. blend_file: Open this file first (forces headless). save_as: Save after applying. target: "auto", "live" or "headless".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| preset | Yes | ||
| target | No | auto | |
| save_as | No | ||
| blend_file | No | ||
| object_name | Yes |