cinemascience / pycinema

cinema engine toolkit
Other
1 stars 4 forks source link

Filters: better API for attribute-heavy filters #95

Open dhrogers opened 9 months ago

dhrogers commented 9 months ago

Python has a very flexible way of passing key/value attribute pairings to a 'constructor' function, and this doesn't mesh well with the channel-per-value concept in pycinema.

It would be nice to have a flexible way to edit a key/value attribute list as a channel in a filter. This would prevent the nodes in the nodegraph from becoming very tall in the UI, when the attributes are simply setting a bunch of key/value pairs.

dhrogers commented 9 months ago

We are addressing this with a python programmable filter, and several subclasses of it.