Grasshopper

algorithmic modeling for Rhino

when cross reference doesn't help for combining whole trees

hi,

I have a group of boxes organized in a list in a certain way:

{0}

the box in the middle

{1}

the 2 boxes in the position right next to the one in the middle, from left to right

{2}

the 2 boxes in the position right next to the boxes in {1}...

etc

I want to move the boxes by 0,6,12

creating a new branch for each group of moved boxes. 

a branch for the ones moved by 0

a branch for the ones moved by 6

a branch for the ones moved by 12

here is a file, and a sketch of how the boxes are arranged

I can't manage to move them all together by 0, then by 6, then by 12... tried cross reference... 

Views: 401

Attachments:

Replies to This Discussion

Here's a native (surprisingly simple) solution.
Was exploring increasingly abstract solutions when I almost had to facepalm with how easy you could circumvent the whole issue.

Basically, flatten everything, move/duplicate, then recreate the tree structure (in each of the branches) using Partition List.

Attachments:

thank you Vongsawat! I'll take a look

it is exactly what I was looking for! thank you!

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