Grasshopper

algorithmic modeling for Rhino

Hello everyone. Gh newbie here.

I would appreciate if someone can give me a hint about my question below:

(Please see the screenshot attached. I will be calling the part inside the yellow boundary as a 'finger' and parts inside it as 'phalanges'. The orange dots to the right are the phalanges in correct order: 0;0;x=finger, 0;0;x;y=phalanx.)

The phalanges are Ruled Surfaces adjacent to each other and I want to rotate them like phalanges of a finger, i.e. when a 'lower' phalanx is rotated, the 'upper' phalanges should rotate from the same center with the same angle, but if I rotate an 'upper' phalanx, no 'lower' piece should rotate. I guess this means the 'lower' phalanges have higher hierarchy. For now, I can rotate the phalanges separately, without the hierarchy.

(I want to point out that all the number of fingers, phalanges and rotation degrees are coming from different random sources.)

So here's the question: Is the above (hierarchical finger movement) possible with Gh? I hope it is! I watched on some videos that the robotic plugins do the same hierarchical movements but I don't know if those movements can be applied to other objects.

I don't want to make anybody lose much of a time, so you do not need to create the whole solution. If you can, please just give me an idea about the component/plugin or approach to solve the problem.

I did not attach the .gh file as it is really messed up now, but please write if you would have any questions.

Many thanks in advance.

C.R.

Views: 523

Attachments:

Replies to This Discussion

I reckon you should use a split list component, splitting each finger list at a (random) index and then rotating the entire 'upper' list

Thank you sir! This sounds like a good idea.

I will give it a try and write back...

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