Grasshopper

algorithmic modeling for Rhino

How do I extract items of a list one by one and not as a group?

Hello,

I am trying to export the coordinates of some points from a "cull pattern" definition and combine them with one extra point in order to create a triangulated surface from all points using "delaunay mesh" definition.

The "cull pattern" definition extracts them as a group so the input of "delaunay mesh" is two values (one group + one point) making it impossible to create triangulations.

Thanks in advance

Views: 669

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

Your problem is related to data structure...when you pass both components into your mesh input, the mesh input identifies them as belonging to different groups because they have different data tree paths assigned to them. The easiest way to deal with this is to right-click on the input to your mesh and select "flatten", which makes assigns all of your input data to a single path.

Oh!!! Thanks a lot. I was always wondering what these options do.

Do you have any reference or link where I could study more about them?

Data structure can be pretty tricky.  David Rutten just did a webinar you should be able to find about how to use them. Otherwise, I'd use the search bar on the website here for data structure tutorials...

@jm

"Data structure can be pretty tricky."

Actually that's the thing which takes 70-90 % of the time to do anything with grasshopper. I would say complex rather than tricky.

http://www.grasshopper3d.com/page/tutorials-1

start here. most of these tutorials cover data matching lists etc

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service