Hi missrocki, you will most likely not be able to implement a selection system. Grasshopper does not respond to selection states in Rhino.
If you draw a grid of 10x10x10 boxes in Grasshopper (which is not very difficult), each box has an index (0~999). You can manipulate lists by accessing these indices. By the looks of this, I'd approach this problem differently. I'd create a 3D grid of points (11x11x11) and I'd modify the locations of these points. Then, once the points are all in place, you can create Twisted Boxes that connect the 8 corners of your deformed grid cell. You can find Twisted Box constructor in the Xform->Morph panel. As for having multiple points that control deformation and even colours, that will be very difficult indeed. I'd probably resort to using a VB or C# scripting component since it would be quite straightforward to loop through your data. -- David Rutten [email protected] Robert McNeel & Associates On Feb 4, 4:43 am, missrocki <[email protected]> wrote: > Hi everyone, > I've been told I should use Grasshopper for the following, and > although I've spent a lot of my time going through the tutorials and > primer examples and there are bits and pieces that would be workable, > I am having a lot of trouble incorporating that as a whole. > If anyone has any thoughts on this, I would appreciate: > > 1. Draw a grid of 10 x 10 x 10 boxes. Each boxe would have an ID > (let's say a number) and I would be able to select a box, or a group > of boxes, within some sort of selection system. > Initially, I wanted to identity specific boxes in groups via colour > systems...Hence, group 1 would be red, group 2 would be green, etc.. > but I read through a couple of posts saying that it would not yet be > possible? > 2. Each box would have its 6 faces which could react different > according to an "attractor" (or each pair of parallel faces reacts > differently vs all 6) > 3. Within this 10 x 10 x 10 grid, there would be interspersed points > (10 of them) which would affect, in turn, the surrounding boxes. > 4. I would like the faces of the boxes to respond in terms of their > proximity these attractor points by varying their colour (RGB values). > Using a metaphor, these attractor points would be like the sun (value > of RGB 255, 255, 255) and the faces would obtain a new RGB value in > intervals relative to their distance to these attractor points (eg. > the face right next to a point would have an RGB value of 255, 230, > 230) etc, according to their place in 3D. > That would at least help in the beginning… > Thanks!
