This is a bit kludgy, but how about writing a script that reads your .csv,
converts the data to a BlinkScript array (or whatever data type is
appropriate), and outputs the resulting source code. You could merge that
(even automatically by the same script?) with the code for your function
that does the work in a .rpp file and then reference that file in the
kernel file knob on the BlinkScript node.


On Fri, Sep 11, 2015 at 8:20 AM, Patrick Heinen <
[email protected]> wrote:

> Hey everyone,
>
> I'm trying to use blink scripting to draw a bunch of shapes based on
> parameters I have in a .csv file. Is there any way to read a file in blink?
> I was thinking about just adding a bunch of parameters, but I want the
> amount to be dynamic, depending how big the data set is. I also thought
> about encoding the information into an image, but that is quite a hacky
> work around too...
>
> Any ideas?
> Thanks,
> Patrick
> _______________________________________________
> Nuke-dev mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
>
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to