set_smooth_shading
Set a mesh object's surface shading to averaged or flat, causing its faces to appear rounded or faceted.
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 |
|---|---|---|---|
| smooth | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||