Grasshopper

algorithmic modeling for Rhino

Hallo guys,

I´m doing my very first project in GH and now I need your help!

The problem is:
I have two list - list A is a list of distances between a point X and some other points on a curve (whith planes and objects on it).
List B is a list of degrees to rotate the planes on the curve depending on how far they are away from point X.
Now I need a list C that sorts the items on list B in the order of list A (you can see it in the screenshot how it should look like).
I hope someone can help me! I guess there is a siple solution to solve this problem but I can´t find it;-)

Thank you for your answers!

Greets, Daniel

Views: 650

Attachments:

Replies to This Discussion

hi gockus

i think the better way to rotate the objects depending to their distance to your predefined testing point is to sort the objects depending on their distance and then apply the rotation so you don't have to sort the rotation which is much easier


hope that helps
all the best to]
Hi to],

thank you very, very much! It works:-) This is the simple solution I mentioned befor!
Best wishes,

daniel

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service