Grasshopper

algorithmic modeling for Rhino

Hello, I have a tree with 52 branches with 1 item each one. What I want to do is to make 14 branches with 4 items each one. Do you know how do I do that?

Views: 261

Attachments:

Replies to This Discussion


It depends on the order of data you want. If you want the first four data be in the first branch, the following four data in the second branch, and so on, simply flatten the tree and used Partition List component with value 4 for size input.

14 x 4 = 56, not 52, some number is wrong. 

Depende del orden de datos que quieras. Si lo que quieres es poner los primeros cuatro datos (de las cuatro primeras ramas) en una rama, los siguientes cuatro datos en la siguiente rama, y así, simplemente usa el componente Partition List con un valor de 4 para el input Size.

Ya pude! Muchas gracias!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service