Hi !
I've been experimenting with generating .json interfaces files with python to create interfaces on the fly. In my python code, I have some modified base widgets / more advanced panels with sub widgets. It works well when I'm generating the whole .json file. But sometimes I want to add a custom widget to an existing .json file. The approach I have is to either keep all my custom widgets in a "dev" tab inside the file and copy paste them from there (but make the file quite heavy) or open another session file, copy what I need and re-open the original interface file but that's not super practical
I'm a big user of TouchDesigner (interactive art / live video processing tool) and It has a "palette" features that gather all the custom modules that you develop and want to drop directly in your project.
I would like to have a similar workflow in OSC where I could have a view on all my custom widgets (stored in a folder in the osc root path ?) and be able to drop them on the grid either as a fragment or as an editable widget.
An alternative could be to store the code of all my custom widgets in a series of .md file and copy paste the json as text in the interface.
Would any of those two options be feasable ?
Thanks
Nicolas