set_smooth_shading
Set smooth or flat shading on a mesh object. Provide the object name and toggle the smooth flag to control appearance.
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 | |||