Grasshopper

algorithmic modeling for Rhino

 

Hi all,

 

I have been building a model that takes tetrahedra held together using stiff springs and attracts them to each other using a P-Law to attempt to build a tetrahelix and other related forms. 

 

Essentially:

-Tetrahedra held together by stiff springs

-All tetrahedra vertices attracted to each other with an exponent of -3

-All tetrahedra centres weakly repelled from each other using a P-Law to avoid tetrahedra fitting inside of each other.

 

I have managed to get this to work as long as the tetrahedra do not approach each other too quickly. If they do, they often slot inside one another. This happens more and more as the number of individual tetrahedra is increased.

 

Any ideas about how to alter the definition to allow me to increase the number of individual tetrahedra to around 200 would be fantastic!

 

Many thanks,

 

Dan Dodds

 

Views: 717

Attachments:

Replies to This Discussion

Hi Dan,

 

Something I tried when making the self assembling tetrahedra in my videos was placing a point in the centre of each tetrahedron, attached to the vertices by springs

You can then make these points act like balls and collide with each other using springs with cutoffs as shown in other examples.

This doesn't completely prevent the tetrahedra from interpenetrating, but at least it stops them becoming completely overlapping.

Hi Daniel,

 

Thanks very much for that tip - It seems to have done the job very nicely!

Like you said, they will get very close rather than absolutely tesallating, but it's a big improvement not to have them eating one another!

 

Cheers,

Dan

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service