Grasshopper

algorithmic modeling for Rhino

Hi,

I need to create a mesh from a closed edge curve, using Delaunay Mesh, but some faces created are outside the closed curve. 

So I would like to cut the mesh created using the edgde curve, to trim the outside faces.

Is it possible ?

Views: 2935

Replies to This Discussion

This is pretty rough but should get you there.

Just cull all the mesh faces, that are outside your region. "Outside" determined by position of the face centroid.

Attachments:

Thank you Hannes !

This is exactly what I was looking for.

One more question :

To create my mesh, I start from an edgce curve, which I divide into segments (like in you example). Then I create the surface from the edge curve, and I populate it with points. Then I use Delaunay meshing tool. My problem is that the points distribution is not regular on the edges, because the distance between populated points and curve points is often very small, which is quite logical because the process is independant (see attached image). Since I want a regular mesh, is there a tool to merge points wich distance is within a certain tolerance (in my case, I want to keep points which belong to the edge curve, and delete populated points which are too close to them) ?

Attachments:

Forget it, I found the solution : Cull Duplicates, with "Leave One" option.

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