Grasshopper

algorithmic modeling for Rhino

Hi all,

I have a problem with data tree.


I have created a grid with points that doesn't follow specific distances between points, but they are coordinated in x and y axis.

The question is how can I create a data tree (like photo below) and use the command "tag 3d"?

Views: 1799

Attachments:

Replies to This Discussion

Hello varlnik,

i am trying to understand the tree structure you are after. Your grid points are structured in a tree with the main  branches (collection of lists) having the points in the y axis. Then each subbranch has multiple points in place? or you want each point of the lets say branch 0;0 to be alone in each own subbranch 0;0;1etc? Note that N denotes the number of items in a list.

best

alex

Thank you for answering. My goal is to enumerate all these points separately in every branch in y axis but also with logical sequence in axis x . But as you observe in the photo above every branch doesn't have the same  number of points in axis y. Could you suggest anything else?

i have not suggested anything yet. still trying to understand what you are after. In order to suggest a solution you need to answer the above questions.

So branch 0;0, 0;1... are organized in y axis. I assume that branch 0;0 has N = 10 points, 0;1 N = 7 points.

In the photo the way you describe the points it is like branch 0;0 has N = 45 points, where subbranch 0;0;1 has null points, subbrach 0;0;1 has N=1 point... subbranch 0;0;9 has N= 9 points.

Most likely you need to just graft you initial data tree that has the following structure

0;0 with N = 10

0;1 with N = 7

0;2 with N = 9

0;3 with N = 5

0;4 with N = 8

without a file, or a solid description of your starting data structure all these remain assumptions.

find attached a 3dm file

Attachments:

"So branch 0;0, 0;1... are organized in y axis. I assume that branch 0;0 has N = 10 points, 0;1 N = 7 points" -- this is exactly what I want to do. 

could you please upload a grasshopper definition ?

exactly that! thank you very much for your time and your help

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service