set_smooth_shading
Set smooth or flat shading on a mesh object by providing the object name and a boolean to indicate smoothness.
Instructions
Set smooth or flat shading on an object.
TIP: For production use, prefer shade_auto_smooth which provides angle-based auto-smooth shading — it gives better results on hard-surface models by only smoothing faces within the angle threshold.
Args: object_name: Name of the mesh object. smooth: True for smooth shading, False for flat shading.
Returns: Confirmation dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_name | Yes | ||
| smooth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||