Grasshopper

algorithmic modeling for Rhino

Define member length to 6 different length Types on voronoi pattern.

Hi All,

1)  I've created a tunnel with a mapped voronoi pattern that has attractor points. (Thanks to the attractor voronoi definition provided by Michael Pryor and others on this forum).    I would like the segments of the voronoi pattern to remain straight in the tunnel form, and not follow the curvature of the tunnel itself.  

2)  I would like to set size definitions to the members so that the overall voronoi pattern is only made up of 6 different member lengths.  I know it sounds counter-intuitive to what voronoi is, but I feel like there is a way to do this.  

Files:  download

Views: 1059

Replies to This Discussion

IMHO this is not possible. You cannot adjust one edge without changing position and length of all other edges in the cell. Each cell edge can possibly be related to every other constructing point....

You can apply Galapagos to the edge lengths but this will only give you edges that are close to your desired ones, not exactly a given length.

That said, you might be able to script a way to build a voronoi like system fron a set of given lines.

Thanks Hannes,  I like your idea of starting from set lines.  I might try that at a later time.  I was just hoping someone else managed to tackle this scenario.  

To answer your first question, you can simply remap the points of the 2D voronoi to the 3D tunnel form and then reconnect them using a polyline component (as long as you keep your data trees intact). This will keep all edges straight yet all vertices will be on the tunnel form. 

On your second point, Hannes is right. Not possible unless both the tunnel shape was uniform and the original point distribution was uniform (a fixed grid of some kind).

Hello Juan,

from what Hannes and Andrew say it's not possible to control the lengths of the segments of the voronoi. However if there is a structural reason for controlling the lengths of the segments of the voronoi (for example, related to their strength), maybe you can control the thickness of the segments instead (first you'll have to transform the segments of the 3d voronoi to prisms). 

I've managed a quick and dirty approach to give the 2d voronoi a thickness related to the area of the polyline curves of the voronoi. I imagine it's also possible to do so with the 3d voronoi. 

There are also plenty of mesh relaxation examples related to 3d voronois. 

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service