raganmd / touchdesigner-save-external Goto Github PK
View Code? Open in Web Editor NEWa simple save external tox and text helper
License: MIT License
a simple save external tox and text helper
License: MIT License
Steps to reproduce:
An error message for another application state appears. "Failed to save tox - It looks like there is an existing tox at this location"
Additional Info:
touchdesigner-save-external: version 1.1.0
TD build: 2021.16410
Loads as TScript for the 'External .tox'
Integrate ctrl + w change as save mechanism
Move away from the built-in save elements, and instead use a dedicated hot key combo
add an option to force the folder DAT to cook every frame.
Ctrl + S doesn't show window prompt to externalize a new TOX anymore
Using TD 2021.16410 version on Windows 10
use case of external script plugged into an execute DAT doesn't work as expected.
save single component and not parent currently broken
Hi - loving this tox. But when I go and make a new component, with a new extension, tag it accordingly, and save, the corresponding text dat is not externalizing. Am I missing a step here or is that feature not currently supported?
thanks!
b
Folder DAT sometimes stops responding - causing updates to seemingly cease
This Tox is a lifesaver, but the current version is a bit overzealous with coloring DATs. I found that it looks for if any DAT's 'file' parameter doesn't equal an empty string, then its added to the collection of "externalized" DATs. But all DATs without a file parameter at all would fail that test.
I adjusted to the following and it worked for me. Was the exclude list to prevent this from happening?
def find_all_dats(self):
external_dats = []
exclude_list = [
'eval',
'keyboardin',
'opfind',
'folder',
'examine',
'select',
'udpout',
'udpin',
'script',
'null',
'info']
for eachOp in root.findChildren(type=DAT):
if eachOp.type in exclude_list:
pass
else:
filepar = eachOp.par['file']
if filepar is not None and filepar.valid:
if filepar != '':
external_dats.append(eachOp)
else:
pass
return external_dats
A naive implementation could be:
`
par_color = '{}*'.format(parColors)
over_ride_color = parent().pars(par_color)
# disabled top backdrops for a moment
ui.panes[0].showBackdropTOPs = False
# change background color (0.1, 0.105, 0.12)
ui.colors['worksheet.bg'] = over_ride_color
# reenable the background tops in the delay script
delay_script = "ui.colors['worksheet.bg'] = args[0]\nui.panes[0].showBackdropTOPs = True"
# want to change the background color back
run(delay_script, self.Defaultcolor, delayFrames = self.Flash_duration)
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.