rhino_pipe_from_curve
Create a pipe solid around a selected curve by specifying radius and cap style, converting curves into 3D tubular geometry.
Instructions
Create a pipe solid around a previously created (or selected) curve.
The function first runs *curve_select_cmd* to select the rail curve,
then runs the Pipe command with the given radius and cap style.
Args:
controller: RhinoController instance.
curve_select_cmd: Rhino command used to select the curve before
piping (default: '_SelLast' selects the most
recently created object).
radius: Pipe outer radius.
cap: If True, caps the pipe ends (solid); otherwise
leaves them open.
Returns:
Dict with 'status' and 'command' keys.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rhino_pipe_from_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | ||
| radius | No | ||
| curve_select_cmd | No | _SelLast |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |