Just tapping in here with a confusion I could really do with some help over…
In short, I’m trying to run the equivalent tScript command to the Python code:
"print(op('math1')['v1'].eval())"
I thought it would be something like:
"chop("math1:v1")"
…but I get “Unknown Command: Chop” whenever I run that. I need to use tScript as I’m using the command kinecttilt which only appears to be referenced in tScript…
Your help would be so very appreciated, its driving me nuts!
Also, if you really need to execute an obscure tscript command, you can always put it in its own Text DAT, set that DAT language to Python, and then call it from a python script.
Example:
op('text1').run()
Any arguments passed to run() will appear in the tscript as strings $args, $arg1, $arg2, etc.
In this case, the tilt command only applies to the much older Kinect 1, so there is no new python equivalent.