A CLI-Tool for launching TouchDesigner projects.
Project description
A commandline utility that allows management of TouchDesigner from UV.
Windows Only. (PR welcome)
Install
use uv add git+https://github.com/PlusPlusOneGmbH/MonkeyBrain to add to project.
Commands
It searches the best installed TouchDesigner version and allows for the following commands. To run the project use
uv run mb edit to launch TouchDesigner
uv run mb designer to launch TouchDesigner and set NODE_ENV to production
uv run mb player to launch TouchPlayer and set NODE_ENV to production
To create the base of required files (.packagefolder and .touchdesigner-version) run uv run mb init.files.
To setup a good vscode settings, run uv run mb init.code which will create links to all important libs defined in the .packagefolder and set the defaultInterpreter.
Both functions are combined in uv run mb init
Default .packagefolder file looks like this.
# Lines starting with # will be ignored as comments.
# ${ gets converted in to ENV-Variable. }
${UV_PROJECT_ENVIRONMENT}/Lib/site-packages
project_packages
.venv/Lib/site-packages
PyProject.toml
The touchlauncher package will use the .touchdesigner-version file to determin the correct TouchDesigner-Installation and path. The behavior can be defined via the pyproject.toml
[tool.touchdesigner]
# Define the projectfile. Should sit in the root-dir of the project.
projectfile = "Project.toe"
# Defines the behaviour how the TD-Install should be searched for
enforce-version="closest-build"
# Options: ( for example we use the following: Set Version: 2300.12000. Available Version [2025.1000, 2023.2000, 2023.4000]
# strict : looks for the exact version set in the .touchdesigner-version file.
# closest-build : looks for the closes build to the set version while ignoring other versions. - Example: Will pick 2023.2000
# latest-build : looks for the latest build in the same version. - Example: Will pick 2023.4000
# latest-version : simply takes the latest available installed version. Def not suggestes! - Example: Will pick 2025.1000
ENV-Variables
You can supply additional search paths by setting TD_INSTALLSEARCHPATH as a : delimited string.
.env files will be mounted before TouchDesigner starts.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monkeybrain-0.2.2.tar.gz.
File metadata
- Download URL: monkeybrain-0.2.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5de6562bdf09b03fbc46f79e5a485410fba6e280dbd0d68dc3d7a14c5e1fba51
|
|
| MD5 |
0d9b1a1f2da4dcf634e8ffa1109ba311
|
|
| BLAKE2b-256 |
ff0a64d8c410a7eec4531d998664b8c35a8f957c59e851579097c1971b9610b8
|
File details
Details for the file monkeybrain-0.2.2-py3-none-any.whl.
File metadata
- Download URL: monkeybrain-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29e8db2fa7a62bc88129e5bdb6aef0be07b0fdab0209b0a910646c076f0a31e8
|
|
| MD5 |
87838f9b17aa8f267bd40c26ec340f48
|
|
| BLAKE2b-256 |
957c44bdfb2eb094a28bc513fdc428235b9237fd56f07276249ae443d6a7e37f
|