Grasshopper

algorithmic modeling for Rhino

Hi,


I am looking for a solution to find the local lowest points on a mesh, similar to extremes on a curve, just with multiple points as an outcome.

Does somebody already have a solution for that ? Attached find a example mesh.

Views: 1940

Attachments:

Replies to This Discussion

Looking for something like this?

Attachments:

Thank you, but this is not what I am looking for. I need the the lowest point, for each local valley of the mesh. Your solution returns me a domain of points based on the lowest point of the mesh.

Then, how can you define each local valley area?

If the vertex normal points in the -z direction and the normals of the neighboring vertices also all have a component in the -z direction (i.e. not a saddle surface)?

I decided to just look for all vertices whose z value is less than their nearest neighbors. It seems to work here because your mesh is nice and smooth. If it was "corrugated" at all, it could get messy.

Attachments:

+1

Very nice solution Ethan. I resorted to throwing in a handful of marbles (using Kangaroo) and then cull duplicates. Just noticed I was mistakenly working with the surface instead of the mesh...

Thank you Hyungsoo and Pieter. High praise indeed!

Thank you Ethan, Pieter and  Hyungsoo for your elegant solutions. 

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