Grasshopper

algorithmic modeling for Rhino

I want to create polyline from the points seen in the list. point sequence must be
(0:0:0) point0;(0:0:1)point1;(0:0:2)point2;(0:0:3)point3;(0:0:4)point4...

How can I solve this problem?

Emre

Views: 233

Attachments:

Replies to This Discussion

create a list of numbers {0, 1, 2, 3...} using the series component. You should make one number for each sublist of points you have. Then you need to match every number with its corresponding list. This involves Grafting the numbers, so that the number of sublists in the number-data is the same as the number of sublists in the point-data.

Then extract the points using the ListItem component, flatten the result and you can make a polyline. Not as easy as you hoped is it?

so thanks david.
yes It's difficult process than ı guess:)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service