rhino_cmd_polygon
Generate a regular polygon in Rhino using center and circumradius, with control over sides and inscribed/circumscribed placement.
Instructions
Draw a regular polygon by center and circumradius.
Args:
controller: RhinoController instance.
cx, cy, cz: Center of the polygon.
sides: Number of sides (>= 3).
radius: Circumradius (vertex distance from center).
inscribed: If True, polygon is inscribed in a circle of *radius*;
if False, polygon is circumscribed around that circle.
Returns:
Dict with 'status' and 'command' keys.
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": {
"cx": "<cx>",
"cy": "<cy>",
"cz": "<cz>"
},
"name": "rhino_cmd_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | Yes | ||
| cy | Yes | ||
| cz | Yes | ||
| sides | No | ||
| radius | No | ||
| inscribed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |