Thank you both so much for your help & suggestions.  Let me see how it
goes...wish me luck!

Ann

On 31 Oct, 12:49, taz <[EMAIL PROTECTED]> wrote:
> Ann,
>
> You could also check out the now classic "Patterning with 2 Attractor
> Points" tutorial by Dave Fano.
>
> It seems like you might be headed in the same direction.
>
> http://designreform.net/2008/07/08/grasshopper-patterning-with-2-attr...
>
> taz
>
> On Oct 31, 11:58 am, David Rutten <[EMAIL PROTECTED]> wrote:
>
> > Hi Ann,
>
> > you don't need scripting for this, though you may need a fairly recent
> > version which has a proper Dispatch component (to be honest, I don't
> > actually know if the most recent public build has the fixed Dispatch
> > component).
>
> > What you do is you measure the distance from each point in your grid
> > to both the sample points. Then you plug these distances into an
> > Expression F(x,y) component and compare them "x < y".
>
> > If x is closer, the result will be TRUE, if y is closer the result
> > will be FALSE. You can then use this stream of TRUE and FALSE values
> > to split your force vector stream (look for Dispatch or Split
> > components)
>
> > --
> > David Rutten
> > Robert McNeel & Associates
>
> > On Oct 31, 5:22 pm, Ann <[EMAIL PROTECTED]> wrote:
>
> > > In my Rhino file I have a rectangular grid of points and 2 external
> > > points.  I am trying to get the grid points to determine which one of
> > > the 2 external points is closer so the grid points will act upon the
> > > closer point.  Then I that point can be inputted into the vector two
> > > point function.
>
> > > I am trying to figure this out using the grasshopper boolean logic
> > > ("if/then" statement).  But I'm not sure if this is the correct
> > > approach or if there is an better way.  I am running the previous
> > > version of grasshopper, not the latest version, which allows
> > > scripting.
>
> > > Any suggestions will be greatly appreciated.
>
> > > Thank you
>
> > > Ann

Reply via email to