Andreas,
You cannot make multiple polylines with a single polyline component as
of yet. What you need to do, is create individual line segments, then
join them together using a Curve Join component. Or, you can use a
Scripting component to create the polylines directly.
What you have as a data source, is a list of points. Each point in
this list is a division point on a curve somewhere:
{A1, A2, A3, A4, A5, B1, B2, B3, B4, B5, C1, C2, C3, C4, C5}
where the letter indicates the source curve and the number indicates
the division index. You need to connect A1 with B1 to create you first
line segment. Then you need to connect B1 with C1. Then you need to
connect A2 with B2 and so on and so forth. You'll notice that the
'distance' between these point pairs is always 5. This is the same
integer as the number of divisions for each curve.
The best way (imo) to solve this is as follows:
1) Create an integer parameter (or a slider) which controls the number
of divisions per curve
2) Divide all your curves in one go using the integer from (1) as an
input
3) Shift the resulting division point list 5 items to the right,
without cycling (unless you want to create a cylindrical grid instead
of a flat one).
4) create line segments between the original set and the shifted set
using a Shortest List Matching.
I can't post an example at the moment because I'm in the middle of
making some changes to Grasshopper and it crashes on loading, once I
fixed the problem I'll post a screenshot.
--
David Rutten
Robert McNeel & Associates
On Nov 16, 11:41 pm, Andreas <[EMAIL PROTECTED]> wrote:
> Hi
>
> This is my problem.
>
> I want to create a polyline through a number of points, but have some
> difficulties.
> The setup is like this:
> I have three (or4,5,6...) lines, lets call them A,B and C.
> I then divide these, by using "divide curve" and a "slider", by say 8
> points.
> Now I want to connect line A/point 1, line B/point 1 and line C/point
> 1 with a polyline (or a curve).
>
> What I get is a polyline connecting line A/point1,2,3 etc before
> connecting to line B and so forth.
>
> When answering/suggesting please assume that I have no knowledge of
> grasshopper:-)
>
> Cheers and thanks
> Andreas