Grasshopper

generative modeling for Rhino

Hi,

 

Is there any way to create constrained delaunay triangulation in grasshopper? That is delaunay triangulation that would respect some fixed boundaries and wouldnt create faces on the concave parts of a point cloud.

 

The photo shows the problem on one project of mine.

 

Thanks

Tags: delaunay, triangulation

Views: 988

Attachments:

Reply to This

Replies to This Discussion

You could use the regular delaunay component, then find all the mesh triangle center points afterwards and test them for inclusion with the original outline. This will allow you to cull any unwanted faces after the triangulation.

--
David Rutten
david@mcneel.com
London, UK
Thanks David, that was pretty much the strategy I thought would work, but unfortunately I dont know how to do that exactly heh. I have the delaunay mesh component and then I explode the resulting mesh with decompose mesh component to extract all the faces. But I dont know how to get the center points of the faces. How is it done?
ok, got it to work.
By "these points" do you mean the mesh triangle centre points?

If so: if you plug the Faces from an Explode BRep component into an Area component then it will return the Centroid of the face.
Sorry, I did it on my own. Works correctly.

Best,
Kamil

Hi, i am stuck with the same problem. Are you able to tell me what components to use for the inclusion testing part? 

Thanks

RSS

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service