Grasshopper

algorithmic modeling for Rhino

Hi network ...

Can we divide a surface based on its curvature so that the flat parts of the surface get less dense divisions, while the curvy parts get denser division proportionate with their curvature degree? I am trying to get a division effect that is similar to an organic tissue which distributes denser fiber in the curvy parts, and vise verse. Many thanks

Views: 3835

Replies to This Discussion

Zayad, I am a grasshopper beginner, so this is far away from my knowledge level.
I still tried to play a little bit with this interesting problem.

It probably has mistakes and is not correct, but maybe it will help you, who knows.

Attachments:

May be it help you...

Subdivision by curvature

Surface regions by curvature

Attachments:

Thanks Djordje, Your definition is working beautifully. Although I feel it can be simplified, but have not worked out yet how.

Igor, the images are looking great, especially the first one. However I could not figure out how to achieve these localised divisions. One of your definitions, SubdividebuCurviture, did not work. I am using GH v 0.9.0014. The HoopSnake component onward all colored in orange, as they seems they not getting data.  

Would you please let me know why is that. many thanks.

Hoopsnake is a recursive component. Double Click on it and in the opened panel click Start (a circular arrow). The logic of definition is simple. On a surface the array of points is distributed. Curvature is measured in each point. If average value of curvature more than the set threshold, a surface subdivided on 4 parts and all repeats. When average value of curvature becomes less threshold the iterations is stop. The less value of a threshold - the more splittings and longer time of calculations . Do not forget to Reset the counter(on the panel) before new calculation and after open definition file.

This is a very smart way to do it Igor. Thanks.

I have not used Hoopsnake before. Seems it has a great potential.

How about your other definition, the IsoCurveRegions. This does not seem to subdivide the surface based on curvature, or am I missing something here?

In the IsoCurveRegions definition surface subdivided on the rectangular grid of subsurfaces which join in a polysurfaces (regions) with identical curvature (within any tolerance).

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service