Grasshopper

algorithmic modeling for Rhino

Hi all -

I've been struggling with the following:

I have a voronoi pattern with which I'd like to subdivide each cell into a split of sub cells, from the center point of the original cells. I then need to fillet (less important) and identify the center of each sub cell (more important).

The attached drawing describes the exact pattern I'm after, but after hours of attempting to replicate with Grasshopper/Geometry Gym I've had no luck. Unfortunately, my knowledge of Grasshopper is remedial, but any advice you could share would be extremely helpful. (i.e., a general explanation of how to access the individual cells and subdivide accordingly)

Thanks so much...

Views: 3042

Attachments:

Replies to This Discussion

No need for any plugins to do this.

You can explode a curve into its vertices and average them to get the centroid (the only thing you need to watch out for is that when you explode a closed curve, you'll get the start/end point twice, so you need to split it off first).

 

Attachments:
Extremely helpful! Thank you Daniel.

Hi Anthony,

 

voronoi cells tend to sometimes have very short edge segments, this will result in very sharp triangles. Still, I think the attached is someway towards your goal.

 

As for the cell center points, I used the midpoint of the boundingbox. Another way to compute the center point would be to take the average of all corner points. Another way still would be to measure the Area Centroid.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:
very nice use of the extrude to a point. I must remember that!

For what its worth here's my attempt (without offsetting and filleting)

If you wish to continue using Geometry Gym, here's my quick attempt at this, you will need latest version of StructDrawRhino, http://www.geometrygym.com/downloads  Some improvements to the definition (such as more parallel edges) should be possible without too much difficulty.

 

The filleting around short edges is certainly one good reason for using my routine (I've spent more than a couple of hours coding that aspect of it).

 

dear danny,

i have taken your example as an opportunity
to try a certain urban parcelling.
output for this consideration are the voronoicells.
this results in the polysurface (development sites).
by the creation of the parcelling
i'm unfortunately not further with this.

maybe a little help

thanks

 

 

Attachments:

Hi Rassul,

 

I'm not sure that follow what you are trying to achieve.

 

dear danny,

 

I have also the impression that it is a dead end.

Hey Guys,

I am new in Grasshopper and I have a question to almost the same issue. I tried to subdivide 2D Voronoi cells into triangels like you did it before. In the next step I want to subdivide this created trangels into three new triangels by dividing the triangels by their center point. But I don't get the center point.

I hope you can help me.

Thank you very much.

Nobody can help me? I'm sorry, but I don't know how to find the centerpoint. Maybe someone can help me now.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service