Grasshopper

algorithmic modeling for Rhino

How to filter random points from a point list using text

Perhaps more people want to know this and the solution might be easy but I cannot figure it out.

I have a (yet simple) mesh where, with the use of WB, the vertices are retrieved as a point list.

The next step which is the part that I don't understand, is to manually type the point numbers in a panel to extract them from the large point list. This also means that the text needs to be converted to integers.

In the end, these extracted points are gonna be used as anchor points for Kangaroo.

The point numbers that needs to be extracted can vary and are not a pattern. Can someone tell me what to do?

Views: 480

Attachments:

Replies to This Discussion

I think this is really easy, but you just have to know it.

The panel is very multi-functional and can contain a lot of different datatypes as input or way to visualize data.

If you want to create a list of numbers for example you can seperate each number by a new line and then right-click and deselect "multiline data", which is the default. I have to admit that its kind of hidden and I never really understood why its called that. It should be deselected by default and the option should be called something like "list data" or something like that.

Anyways, once you have created your list of items, you can use "list item" to retrieve certain items from a larger list giving it the list and the indexes to retrieve.

Attachments:

Wooow, major thanks. Indeed simple,but hidden. Spend many hours to figure it out. Thanks a lot!!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service