Marc, we'll expand the feature set of those script components soon. We need a way to add functions and even classes and -yes- imports statements.
-- David Rutten Robert McNeel & Associates On Oct 14, 4:30 am, Marc Hoppermann <[EMAIL PROTECTED]> wrote: > Now that the scriting component works I wanted to test it right > away... > > The first thing that came into my mind was to use it for reading Pixel > images (similar to Davids RhPicture Plugin for RhinoScript) > > Unfortunately I don't know how to place images here so here a > link:http://shift-lab.blogspot.com/ > > The VB component takes the filename of an image and a (x,y) > coordinate as an input and outputs the r,g,b values and the resulting > greyscale value at the Pixel(x,y). > > For that it uses the "getPixel"-method of the DotNET Graphics class... > > @David: great stuff!! this is what I have been waiting for... > Only one question so far: Is it possible to write code in the locked > (grey) areas? It would be great to be able to add Import statements. > > Hope to be able to post some more soon, > Marc
