Grasshopper

algorithmic modeling for Rhino

I have a number of surfaces that I've broken down into components, then divided the outer edge to create a set of points. I want to be able to have the points connect to form delaunay edges, EXCLUDING the other points from the same divided curve, so that the mesh is formed between the surfaces, and not within the surfaces.

I thought cull index might work for this problem, so I have my definition set up as shown. However, I'm having trouble seperating sets of points in order to find their index.

I can see from the panel that every set of 20 points (the number the edges are divided into) is grouped into it's own list, but I don't know how to extract each list in order to find the index of the group of points. Even then, I'm not entirely sure I'm headed in the right direction... I would love a little help. Thanks


and an image of the surfaces I'm looking at, so you get an idea:

Views: 1134

Replies to This Discussion

If you want to create a Delaunay mesh that has gaps inside the surfaces, you don't want to cull points, you want to cull faces. Or I misunderstood what you were after, which is possible, it's 3am and I'm tired.

 

What you need to do is create the entire delaunay mesh, then for each face find the midpoint, then for each midpoint check to see if it's 'inside' any of the outlines, then remove those faces that are on the inside and finally put your mesh back together.

 

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service