algorithmic modeling for Rhino
Hi,
I generated the list of points, that you can see in the attached jpeg.
I now want to use them to create polylines.
In this case, it would be 4 polylines (#1 made from (0;0) to (0;3), #2 from (1;0) to (1;3) and so on.
I have a feeling, that this is not very complicated, but can't get it to work...
Anyone here with an answer?
Thanks! Julian
Tags:
ha,
haven´t seen your anwser :-)
Best regards
DeDackel
Hi,
thanks for the quick answer!
I don't think that would work. At the moment, if I plug this list into a Polyline component, it tells me, that there is an insufficient number of points to create a polyline. I understand, why that is (because each point is in a seperate branch and a polyline needs more than one Pt. GH tries to create 14 Polylines with one Pt each).
I somehow need to tell it, that all points with an index (0;x) should be used for one polyline and then all points with an index (1;x) and so on.
The Pathmapper doesn't seem to be the right tool here.
Julian
Sorry, you're actually right...
Thanks for your answer!
Hey
You can use the Pathmapper therefore
{A;B} --> {A}
This generates a new List with 4 paths {} with items ().
{1} (3)
{2} (3)
{3} (4)
{4} (4)
Through the items you now can make a Polyline
Best Regards
DeDackel
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by