Analyze project
analyze_projectAnalyze a TouchDesigner network to detect dead operators, missing file dependencies, orphan COMPs, and operator dependencies. Reports issues with human-readable reasons for cleanup.
Instructions
Diagnose a network for cleanup: report likely-dead operators (zero wired outputs, unreferenced, not displayed), broken external-file dependencies (file parameters pointing at missing files), orphan COMPs, and a dependency map of which operators reference which. Read-only and conservative — every flagged item carries a human-readable reason. Complements plan_visual (which plans a build) and snapshot_td_graph (which dumps structure).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Network root to analyze (the COMP whose descendants are scanned). | /project1 |
| recursive | No | Recurse into child COMPs (true) or only inspect the root's direct children (false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| recursive | Yes | ||
| counts | Yes | ||
| unused | Yes | ||
| broken_file_deps | Yes | ||
| orphan_comps | Yes | ||
| dependency_map | Yes | ||
| warnings | Yes |