Grasshopper

algorithmic modeling for Rhino

Moving Line-Like Curves Whist keeping Data Structure

Hi there,

I'm trying to do something which seems simple enough but I can't get my head round to getting it to work.

I've got a list of 24 branches each containing different amount of curves. I'd like to move all of these along the 40 'Z' vectors. The only way I can get it to work is by flattening the list but then I loose tree structure.

How can I solve this?

Thanks!

Desired Output:

Data:

Views: 671

Attachments:

Replies to This Discussion

Er... what's exactly the issue?

Attachments:

I'm trying to move all the lines stored in my 24 branches according to all 40 vectors.

I would expect the output to have 40 branches, each of which contain 24 branch, thus 960 in total.

Something like this?

Attachments:

Hyungsoo that's very close but I need to further preserve the tree, the output should contain 960 branches (24x40). Each layer (24 branch) should be in its own branch. How could I modify this to get to that result?

Another one..

Attachments:

Got it, thank you very much! I knew I'd be straight forward, I've never used the group component before.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service