antimony icon indicating copy to clipboard operation
antimony copied to clipboard

Data Provider Node Type

Open mikea opened this issue 10 years ago • 2 comments

A separate "data provider" node type seems to be useful. I imagine it could have multiple (named) rows of values. These would be used as providers for common parameters through a model (that doesn't have to be changed by mouse).

mikea avatar May 30 '15 01:05 mikea

You can do this easily with a custom script, e.g.

title('data provider')
input('width', float)
input('height', float)
input('depth', float)

Name the node constants, then refer to constants.width, etc. in other places.

screen shot 2015-05-30 at 12 16 26 pm

Is this what you are asking?

mkeeter avatar May 30 '15 16:05 mkeeter

I just wrote one.

AstraLuma avatar Jun 04 '15 22:06 AstraLuma