Grasshopper

algorithmic modeling for Rhino

data tree management in numbering a meshed cube

Hi,

I have built a cube (10x10x10) starting from a small cubic element, which I multiplied vertically 10 times (z axis of cube). Once I had the column multiplied it 10 times to the x axis, and then the whole "surface" 10 times along y axis. 

I expected that the numbering of the cubes would follow the creation, but no. So, I want element number 1 to be the initial cube, number 10 the last element of the column, 11 the 1st element of the second column, 100 the last element of the last front column etc....

Any ideas??

Thanks in advance 

Views: 352

Attachments:

Replies to This Discussion

You just need to pick the correct order of x, y and z to get the pattern you're after.

Attachments:

Thanks a lot David!

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