Can this python script be possible to grasshopper component correctly?

Hi everyone, currently, I am doing a research on the differential growth. In this thread, David introduces a simple way on differential growth with growing disk, but there is a section using python script to converse plankton mesh to rhinomesh. I wonder if it can be translate to grasshopper components correctly as well, since I don’t know python. Here is the original file:GrowingDisk_update.gh (14.9 KB).
Here is the file I work with:Growdisk_c2.gh (17.3 KB)

No, because you will need loops. Your options are script, anemone plugin, or kangaroo.

Hi Michael, thanks for your reply, I try to use anemone plugin and kangaroo2 to create loops. But it comes out with kangaroo error or the new geometry can not be incrementally added on to the loop.

I think you can only use anemone with the zombie kangaroo component so you can control iterations. However, the entire process is possible with just kangaroo. It’s in the example files called as Curly Kale

2 Likes

curlykale2.gh (16.3 KB)

Here’s the definition Michael mentions.
Doing it this way is slightly different to adding faces iteratively, since here all the faces are created at the start, with different sizes, then the buckling is caused by changing their edge lengths to be the same, but in the end the effect is similar.

Here’s the original discussion on the old forum: https://www.grasshopper3d.com/video/curly-kale-1?id=2985220%3AVideo%3A1313981&page=2

1 Like

Thanks, Michael, and your suggestion. I tried with zombie kangaroo and anemone, but it still comes with kangaroo error when the python script component is removed

Growdisk_c3.gh (3.5 MB)

Thanks for your definition and suggestion. I wonder if there is a way to achieve a result similar to that approach by adding faces alliteratively.


I tried to give using weaverbird to add more mesh faces in your definition, but the edge can not be control to grow the buckling like the one with iteratively face added.


curlykale3.gh (11.0 KB)
You can get more complex surfaces by adjusting the settings.
Here’s an altered version, including a timer to control the gradual growth, as it can be hard to increase the slider gradually enough by hand.

6 Likes

Thanks for your file, Daniel. It works. Since I don’t have rhino 6, so I just replace the multiplication with the one in rhino 5.

Hi @DanielPiker is possible to make this definition work in 2024?

I get some components missing :frowning:

Thank you!