I came up with a solution to a problem which is I think a subset of
yours:
http://groups.google.com/group/grasshopper3d/web/circle_division_connection.ghx

It's pretty damn complicated and this is only a single polyline...

--
David Rutten
[email protected]
Robert McNeel & Associates


On Feb 5, 11:36 pm, David Rutten <[email protected]> wrote:
> hi yyy,
>
> first of all, you cannot generate separate curves with the polyline
> component. You'll have to generate individual line segments and then
> join them together.
> You'll have to find a way to generate a list of index numbers that
> represents the order you wish to achieve. It may be quite complicated
> to do this, you'll almost certainly need Series, Duplicate, Addition
> etc. in order to get there.
>
> I'll try and come up with a method tomorrow (there's a little bit too
> much alcohol sitting in between any two given synapses in my brain at
> the moment).
>
> --
> David Rutten
> [email protected]
> Robert McNeel & Associates
>
> On Feb 5, 6:46 pm, yyy <[email protected]> wrote:
>
> > hi David
>
> > Thanks for replying! My situation is a little bit complicated and I
> > have another two questions:
>
> > 1.  If I can select out all the points, but how can I order them as A2
> > A3 A1 B2 B3 B1 C2 C3 C1?
> > 2.  Please refer to my picture
>
> >http://grasshopper3d.googlegroups.com/web/ttt.JPG?hl=en&gsc=3JhnAhYAA...
>
> > Thanks very much!
>
> > On Feb 5, 7:30 am, David Rutten <[email protected]> wrote:
>
> > > hi yyy,
>
> > > you'll probably have to use the List Index component to extract the
> > > individual items. Or you could use a cull pattern.
>
> > > For example, if you have 6 circles and you divide them all into 6
> > > segments, you'll get a list of 6 x 6 = 36 points. You want to keep the
> > > first three, then skip the next three, then keep the next three then
> > > skip the next three and so on and so forth. All you have to do is feed
> > > all your 36 points into a CullPattern component and set the cull-
> > > pattern to be {true, true, true, false, false, false}.
>
> > > --
> > > David Rutten
> > > [email protected]
> > > Robert McNeel & Associates
>
> > > On Feb 5, 4:25 am, yyy <[email protected]> wrote:
>
> > > > hi,
> > > > I have a problem like this:
>
> > > > I have 3 circles. I divide each circle into 6 parts then I got 6
> > > > points. Now I want to link the 1st, 2nd, and 3rd points of circle A
> > > > with the 1st, 2nd, and 3rd points of B and C.
>
> > > > How can I select out all these points and link them in the order of
> > > > A1, A2, A3, B1, B2, B3, C1, C2, C3?
>
> > > > Thanks- Hide quoted text -
>
> > > - Show quoted text -

Reply via email to