Hi Carlo, there are 2 fairly simple ways in which you can do this:
1) Create the point grid directly in the expression: http://grasshopper3d.googlegroups.com/web/CreatePointsInExpression.jpg?gsc=-yDW0QsAAAC8rUctUtRHhGxj6EM2n7-f 2) Create the point grid using a Point(xyz) component (Cross Reference mode) and then adjust them using an expression: http://grasshopper3d.googlegroups.com/web/AdjustPointsInExpression.jpg?gsc=PQ00wwsAAABl3VP8G7UBIsr3JUqF4B_L Both these methods involve making point objects *inside* the expression. You could also choose to make an offset expression. One input parameter (point): p + {Sin(p.y),Cos(p.x),Sin(p.x)} which creates a new vector (inside the curly brackets) and adds that vector to the point coordinates. This effectively distorts the point grid in all 3 dimensions. -- David Rutten Robert McNeel & Associates On Oct 24, 10:09 pm, K4rl33 <[EMAIL PROTECTED]> wrote: > http://groups.google.com/group/grasshopper3d/web/Grid.jpg > > Here's the link. Sorry for the confusion :( > > On 24 Ott, 20:33, David Rutten <[EMAIL PROTECTED]> wrote: > > > What link? > > > -- > > David Rutten > > Robert McNeel & Associates > > > On Oct 24, 9:20 pm, K4rl33 <[EMAIL PROTECTED]> wrote: > > > > First of all, thank you David. > > > Substantially, I've solved the problem. > > > But now I've still a perplexity: please, look at the algorithm in this > > > link: is that the shorter way to obtain the grid that I want? > > > Here I've done a cross reference on the F(X) component and then I've > > > managed the result with a Z vector to translate the grid of X Y planar > > > points and create my grid. > > > > On 24 Ott, 12:29, David Rutten <[EMAIL PROTECTED]> wrote: > > > > > Hi Carlo, > > > > > the Cross reference is supposed to be in the F(x) component. > > > > See:http://grasshopper3d.googlegroups.com/web/CrossReferencePointFunction... > > > > > -- > > > > David Rutten > > > > Robert McNeel & Associates > > > > > On Oct 24, 12:47 pm, K4rl33 <[EMAIL PROTECTED]> wrote: > > > > > > Hi guys, > > > > > > I'm playing in grasshopper with the Expressions component. > > > > > I have already managed F1(x) functions, and with my alghorithm I can > > > > > see the flow of the function in a collection of points that generates > > > > > the flow of a curve in a bidimensional space; here there's a diagram > > > > > of the logic structure. > > > > > > RANGE-------------------------------> X > > > > > | POINT > > > > > |----> F(X) ---> Y > > > > > > All right at the moment. > > > > > > But now I want to improve from F1(x) functions to F2(x) functions to > > > > > study by points the flow in the 3dimensional space. > > > > > I take two range components and I join them to the F2(X) component (x > > > > > and y with a defined R2 --> R function, for example sin(x+y)), then to > > > > > the X and Y of the POINT component, and the F2(X) output to the Z of > > > > > the POINT. > > > > > What I obtain is not a plane - so a grid - as I want,but a curve > > > > > defined by points in the space, on the diagonal of the matrix of > > > > > values of the ranges (domains) that I've choosed. If I put "cross > > > > > reference" to the POINT component, the diagonal shift to a grid of > > > > > points, but in each (X;Y) value I doesn't have a unique Z = F(X;Y) > > > > > result as I want , but multiple results, and it is not good because > > > > > the function must associate a unique value to each couple of points. > > > > > > Sorry for my poor english, I hope you guys have understood the problem > > > > > and would give me an answer to solve it! > > > > > > K4rl33
