snap_to_grid
Align a 3D object's location to the nearest grid point. Specify the object name and optional grid size for precise positioning.
Instructions
Snap an object's location to the nearest grid point.
Args: name: Name of the object. grid_size: Size of the grid cells. Defaults to 1.0.
Returns: Dict with the object name and snapped location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| grid_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||