Sorry, I didn't explain very well the definition since i wasn't sure
if that was what you where trying to achieve. Yes, you can use the
polyline with the same structure or you could use the line component
but the structure of the definition would change. .....ooops, I didn't
save the definition, i'm going to try to remember what i did: The abcd
expression formula was something like 'a*b/c*d', i think. The
expression component with 2 variables simply checked if the point was
inside the circle and returns true or false, but the integer parameter
converts true to 1 and false to 0. To do multiple circles, i think
you've got to get the resulting list of points after they've been
modified from the first circle and do everything again for the second
circle (duplicate all the components until the 'move' component). I
think you can't just blend them all together using the same components
because you don't know what radius and vector to use in each point.


On Dec 22, 6:01 pm, amschluter <[email protected]> wrote:
> thank you for your help, that is what I wanted to do. I wanted the
> lines to be segmented, so im assuming i just swap the interpolate
> curve for a polyline? My apologies if this is totally obvious, but
> what do i set as the expression in the four-variable function and what
> would i do if i want the line to respond to more than one circle?
>
> On Dec 19, 6:47 pm, visose <[email protected]> wrote:
>
> > You mean something like 
> > this?http://grasshopper3d.googlegroups.com/web/linesaroundcircles.jpg
> > I did it by moving the points away from the circle instead of culling
> > them. Then connect all the points to an interpolate curve component
> > and extract the desired sub-curves. I decided to move them gradually,
> > but you could move them so they are all completely outside the
> > circle.  They look weird because of the low number of points. I used
> > only one of your circles in this example.
>
> > On Dec 18, 8:22 pm, amschluter <[email protected]> wrote:
>
> > > I'm a fairly new user of grasshopper and i have been struggling to
> > > complete this equation.  I have set up a grid of points and then i
> > > compared their distance from the center point of a circle with the
> > > radius of that circle.  If the points fell within the reaction area
> > > they were culled.  I want to connect the remaining points in a series
> > > of horizontal lines that move up or down (out of the way of the way of
> > > the reaction areas) and then continuing on their original horizontal
> > > track.  I was thinking I could set it up so that they would connect
> > > the point closest to them, or that maybe I could divide the grid up
> > > with assymptotes running through the centers of the reaction areas and
> > > the lines could respond to those. so far, however, i have been
> > > unsuccessful...please help....i have uploaded the file to my equation
> > > in its current state under the same title as this post.- Hide quoted text 
> > > -
>
> > - Show quoted text -

Reply via email to