Build SOP geometry chain
build_sop_geometryBuild ordered SOP geometry chains in TouchDesigner by specifying operations and parameters, with automatic wiring and fail-forward handling.
Instructions
Declarative Layer-2 builder for an ordered SOP geometry chain. Pass an ops list (type + optional name + optional params); each op[i] is wired output 0 → input 0 of op[i+1] under parent (default /project1). Per-op create/param/connect failures become warnings (fail-forward) — a partial chain still returns useful info. Tip: end the chain in a nullSOP for a stable handoff to Geometry COMPs, SOP-to-CHOP, or convertSOP. Use connect_nodes for multi-input fan-in (e.g. mergeSOP, copySOP template).
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": {
"name": "<name>",
"ops": "<ops>"
},
"name": "build_sop_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Ordered list of SOPs. Each op[i] is wired output 0 → input 0 of op[i+1]. | |
| name | Yes | Base name for the chain; used as a name prefix when ops omit `name`, and as the chain's reported id. | |
| parent | No | Parent component path. Defaults to /project1. | /project1 |