algorithmic modeling for Rhino

I am new to Ghpython.

This algorithm is to find local lowest points, which I find relatively hard just using grasshopper.


Views: 1040


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by dude on December 13, 2016 at 11:07am

Just noticed the reverse is on the list item, not the point list. But you get the idea.

Comment by dude on December 13, 2016 at 11:06am

Deconstruct mesh to vertices, deconstruct vertices (points) to X,Y,Z values. Sort Z values and then sort points at the same time. Use list item to find the first points on the list. Reverse list to find the last points on the list.

Comment by Laurent DELRIEU on December 3, 2016 at 2:11pm

TopologyVertices is a bit tricky, the numbering is not the same as the one used in the mesh. There is everything in RhinoCommon to cope with this. There are some ressources on this forum.

Comment by LabLeo on December 3, 2016 at 1:51pm

Thank you Laurent, I will look into TopologyVertices... I was writing a definition to get the surrounded vertices of a specific one...

Comment by Laurent DELRIEU on December 3, 2016 at 12:46pm

Hello, excuse me for haven't read well your post :( Most of the time when someone begin by "I am new to .." it means a question rather than an answer. 

Just to say your script is equivalent to that in Grasshopper component + sandbox for topology. 

In order to not use UV, you will have to use mesh TopologyVertices...





  • Add Photos
  • View All

© 2021   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service