Carlo,
   The "surface from a grid of points" needs to know how to arrange
the list of points into a grid in the u and v directions. From how I
understand this particular component, it uses the U input value and
figures out what the v should be by dividing by the total number of
points you have fed in.

You can use the same number that creates the range...but just add 1,
so that it will divide evenly into the total number of points.
http://grasshopper3d.googlegroups.com/web/SurfaceFromGridOfPoints.jpg?hl=en&gsc=KBO2lgsAAAArSiFqgquZMk3PSS2SEcDN

Matt Swarts
Research Scientist, Georgia Tech

On Oct 25, 9:05 am, K4rl33 <[EMAIL PROTECTED]> wrote:
> Thank you David, your answer was totally fulfilling.
> I'm sorry if I'm taking advantage from your kindness,but I'd like to
> make you another question.
> Is the grid of point generated from the function able to be used,for
> example to create a surface through, or to populate the cells of the
> grid?
> I've tried with the "surface from points" component, but it doesn't
> work!
>
> On 24 Ott, 22:06, David Rutten <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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.jp...
>
> > 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.jp...
>
> > 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- Hide quoted text -
>
> - Show quoted text -

Reply via email to