Grasshopper

algorithmic modeling for Rhino

Dipping my toe into grasshopper for the very first time, so apologies if this is too banal to bother with. I'm trying to make objects that rotate about points/axes that are themselves in motion - all operating off one slider.

I'm not making myself very clear, so I'll make a little animation... (I think you have to click it to see it animate)

A solution would be nice, but this is just for fun, so the proper terminology and links to tutorials that explain this in more depth would be equally welcome.

Views: 1050

Attachments:

Replies to This Discussion

Hello Chapultepec,

Take a look at the attached definition. The logic is to find the rotation point for each shape and then move the shape to this point and rotate it around it.

I am afraid I don't have any theoretic references about it but it seems close to origami logic. Kangaroo plugin could help you do this in a much easier way, I believe. Maybe you could check it out!

Attachments:

Thanks - wow - that seems much more complicated than I had envisaged. This is going to take a while to digest... thanks again.

Hello Chapultepec,

It is a long definition but not really complicated.

It just repeats the same process for each rotating shape which is:

1.Locate the "hinge" point on the shape to be rotated and on the previous shape(explode & item components).

2.Make sure the shape always follows the previous one(Vec2p & move components). 

3. Calculate the angle and rotate the shape(AxB & Rotate Component).

Of course this can grow long very fast (with more rotating shapes), that's why I suggested kangaroo which has components for hinges, folding, etc but needs some studying...

does somebody Kangaroo definition for rotating an moving? Need it for second step of my optimization. (in First Step i am bringing geometries in Kangaroo with attraction and collision together). Would like to ad second Kangaroo level to rotate all objects orthogonal to each other (collision and attraction have to still working in the second step also)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service