add_box
Create a solid box in Rhino by specifying length, width, and height with an optional center point; returns the new object ID for placement and editing.
Instructions
在 Rhino 场景中创建一个长方体(实体)。
size: [长, 宽, 高],例如 [100, 60, 40]。
center: 盒子的几何中心 [x, y, z]。不传时默认盒子底面落在 XY 平面(z=0)、
XY 中心在原点,即中心为 [0, 0, 高/2],盒子不会沉到地面以下;
只有明确想让盒子沉入地面以下时才显式传 center(例如 center=[0, 0, 0]
会让盒子一半在地面以下)。
返回新对象的 object_id。Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"size": "<size>"
},
"name": "add_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| size | Yes | ||
| center | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |