Skip to main content

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

monkeybrain-0.2.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monkeybrain-0.2.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file monkeybrain-0.2.3.tar.gz.

File metadata

  • Download URL: monkeybrain-0.2.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.0

File hashes

Hashes for monkeybrain-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f627a08f037397e082867f9cf722731a1bddc02d05b9e832d72e7f3467b306a0
MD5 c141d52a3a0995348e189df4e30f41e3
BLAKE2b-256 9d785db40539cd63a2497470dd3462a5b2264d5540c4d5770380d58002f11df8

See more details on using hashes here.

File details

Details for the file monkeybrain-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for monkeybrain-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1f4de8575fa60ccc17787f624b05c747844c7fee0edc119be57eaeb501406e
MD5 ec6c89f04c635c935ed062e319b38521
BLAKE2b-256 f46656d7ecf6bc5f60f88e57e842da2249e38dfa2d67b5f1b8f1a8a503de9f67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page