Grasshopper

algorithmic modeling for Rhino

Hi, I would like you guys to help me out with something I wanna do, I've been trying to generate a voronoi with a different set of parameters to it, I want it to find the closest point but only if these points do not surpass s 15 degree angle in their distance, early on I was able to make to points do this, but it's getting difficult when trying to make it with a grid of point, all of them different in their respected x,y, and z positions, any clues?

Views: 972

Replies to This Discussion

15 degrees measured how?

An image would be really helpful.

--

David Rutten

david@mcneel.com

Tirol, Austria

I guess it has to do with the radius parameter in the voronoi tool, how can I manipulate that parameter to tell the program to only choose those point that not only are the closest ones but also do not surpass a 15 degree angel (both -15 and +15)  from it correspondent plane that is parallel to the x,y plane

You can't modify the algorithm inside the Voronoi Component, you'll have to actually provide reduced point sets and compute an entire voronoi diagram for each and every cell.

Or you can use a VB/C# component to use the Voronoi algorithms in Grasshopper core:

You can specify the angle and the base direction, but at the moment the boundary rectangle is hard-coded. Is this what you are after (see attached)?

--

David Rutten

david@mcneel.com

Tirol, Austria

Attachments:

Incidentally the T output lists all the indices of all the points that were used to cut every individual cell. Since the angle is 90 degrees now all points are always used and the result is a normal old-fashioned voronoi diagram.

--

David Rutten

david@mcneel.com

Tirol, Austria

I see. Actually is a little more complex than just making  2d Voronoi, it is suppose to be a three dimensional one. The point of this is being able to analyze a surface, contour it, and then divide each contour line in points, then the point can be input in the voronoi formula and this will generate the lines only if the angle in the Z vector is't bigger than 15 degrees, at the end you will have a lattice which lines do not surpass a 15 degree angle in the Z vector, is like trying to make the donkey that was use to find the best path to build up a road in a very sharp hill 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service