Grasshopper

algorithmic modeling for Rhino

Hello

I am trying to re-create a model of an experiment where I placed yeast with sugar in setting plaster. The result was a porous structure not dissimilar to an Aero Bar. 

I have created a random series of points in a 3D space with expanding spheres - I want to attract the spheres together. By giving negative forces to the sphere surfaces and positive forces to the centre point i hope they would attract but not overlap; so far it's been unsuccessful. 

Any help would be great!

Thanks 

Tim

Expanding%20Spheres.gh

Views: 1908

Replies to This Discussion

Hello Tim. You will need kangaroo to open the deff. Hope it helps. This is an example file from the plugin (ballcluster) ;)

Attachments:

Hey Lucas. Thanks for the reply! I cant seem to get it working. I have reset the Bolean and timer in kangeroo, there are no errors anywhere and nothing happens. Not even a starting geometry I must be doing something wrong.

A quick image of what it does please?

Many thanks Tim

Im sorry i cant adjust the size of my images...

No worries. I just downloaded the script again and its working. Looks cool. Now to combine it with the mornings experiments.

I have been playing around with Arthur Manu's inflation script this morning. Got a sphere to expand, if your interested i'll attach the script. Cannot get more than one to work thou. frustrating! 

I think it the weaverbird component that preforms the inflation pressure doesn't like multiple mesh inputs. If you have some time please have a look :D Its a fun script!

Thanks so much

Attachments:

You are welcome!! sorry for delay... I manage to work two spheres, see attached.

The problem is, after explode, the path mapper is not doing what we need ;)

Attachments:

One way to do it. Look a the file attached ;)

Attachments:

Thanks again Lucas. Any time you can spare is invaluable to me. 

Had a bit of trouble loading it at first. It doesnot work on rhino 4.0 old grasshopper for some reason. So i have joined the world of rhino 5.0 and upgraded my grasshopper. All working great now!

My understanding of how data travels through grasshopper is not so good, yet. Would you mind explaining expandingspehres4 as hopefully i will be able to redevelop the script a little further.

Hello Tim! The script aplies an unary force (0,0,-30) to every point on the sphere, creates conections between every edge in each sphere and aplies a presure force, here was the problem because after explode curves the data is (0;0;0;0)....(0;2;0;383) and here Arthur Mamou used Path mapper or flip matrix but no one of this solutions is posible in this case because: path mapper extracts (A;B;C;D) and we have items on  (A;B;C;D), and flip matrix doesnt work... I have create a subset of list N=4 to get a list with the points of the spheres and flip the matrix to get four branches in order to get the points to input in the pressure force. Sorry but i´m not a teacher and there is, for sure, a better way to do it. Cheers. ; )

hey Lucas. Your definitely a teacher i am learning loads about grasshopper!! Many thanks for all your time. 

I thought I had understood how to adapt the matrix to suit all solutions but something has gone wrong. I have tried to add in the pop random to create spheres and adapt the matrix accordingly but something funny is happening. Hopefully you will have some time to have a look. Or anyone else?

MANY THANKS Tim

Attachments:

Hey Tim! What´s happening is that when you are using loop subdivision with 2 iterations on each face the data seams to be the same in all the process, except the number of force objects (of course) but then happens this curious behaviour. Use 1 instead 2 and it works... When you´r stranger...;)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service