UNPKG

@bottobot/td-mcp

Version:

TouchDesigner MCP Server v2.8.0 - 21 MCP tools, 629 operators with clean parameter data, 69 Python API classes, 14 tutorials, 32 workflow patterns. Includes version system, experimental techniques KB, core tool enhancements, and experimental build support

92 lines 2.48 kB
{ "className": "Position", "displayName": "Position Class", "description": "The position class holds a single 3 component position. A position is a single point in space, and it's important to use a position or vector as appropriate for the data that is being calculated, since matrix operations on them will end in different results. When being multiplied by a Matrix, this class will implicitly have a 4th component (W component) of 1. If the Matrix is a projection matrix that will cause the W component to become something other than 1, all 4 components will be divided by W to make the position homogeneous again. A new position can be created without any arguments, with 3 arguments for the x,y,z values, or with a single argument which is a variable that has 3 entries such as a list of length 3, or another position or vector.", "category": "General", "fileName": "Position_Class.htm", "members": [ { "name": "x", "id": "content", "returnType": "float", "readOnly": false, "description": "x member" }, { "name": "x", "id": "bodyContent", "returnType": "float", "readOnly": false, "description": "x member" } ], "methods": [ { "name": "translate", "parameters": [ { "name": "x", "type": "Any" }, { "name": "y", "type": "Any" }, { "name": "z", "type": "Any" } ], "returns": "None :", "signature": "translate(x, y, z)" }, { "name": "scale", "parameters": [ { "name": "x", "type": "Any" }, { "name": "y", "type": "Any" }, { "name": "z", "type": "Any" } ], "returns": "None :", "signature": "scale(x, y, z)" }, { "name": "copy", "parameters": [], "returns": "tdu.Position :", "signature": "copy()" }, { "name": "abs", "parameters": [ { "name": "tdu.Position", "type": "Any" } ], "returns": "tdu.Position :", "signature": "abs(tdu.Position)" }, { "name": "abs", "parameters": [ { "name": "p1", "type": "Any" } ], "returns": "tdu.Position → tdu.Position :", "signature": "abs( p1 )" } ], "enhanced": true }