right? When the dataTree is this simple its not really a problem, but when it grows and I want to be able to refer to a specific GH branch e.g. {11;320} and I need to read this specific branch in Python? How do I do this?
I know that there is the function tree.Path(x) this will give me the GH Path, but how do I figure out what x needs to be? I guess there must be a simple answer :).
Thanks Rasmus…
Added by Rasmus Holst at 1:24am on October 14, 2013
ge on top) of Sameer's definition he used:
{A;B} (i) > {A} (i)
Let's suppose that you have 5 curves selected in your definition. So you will have:
- Data with 5 Branches
- N=11 (as default value from Divide Curve)
- data structure (0;0) (0;1).....(0;4)
Here the question: WHY?? the points coming out from this Path Mapper belong to the fifth curve (and not the fourth, the third...etc.)?
Thanks a lot!…
rve
10 curve
11 curve
12 curve
13 curve
...and I'd like to rearrange the order in which the curve are listed, to something like this:
{0,0,0}
0 curve
1 curve
8 curve
9 curve
10 curve
11 curve
2 curve
3 curve
4 curve
5 curve
12 curve
13 curve
6 curve
7 curve
I hope this makes sense.
Thank in advance for any advice,
John…
into new tree, so that branch {0} has points from branch {0} {1} {2} combined, branch {1} has points from {2} {3} {4}... as it shows in the atached image.
The main problem is that points need to overlap in the new tree.
Any suggestions?…
e range of materials, including heavy-duty fabrics. They offer a range of embroidery machines that cater to different needs and budgets.best embroidery machine for custom designs…
ace discrete from one another. However, even though you have selected the point furthest from your base surface, that list of distances retains the data structure of being 11 discrete lists. Meanwhile, your original surface list doesn't have any data structure. You can read this in the wires: the flat surface list is a double-lined wire, and your structured distance data is a double dotted-lined wire. You also can see it in how the distances are represented in your panel, with each one separate from the rest and assigned a data path address ({0;0}, {0;1}, etc.). Right now, grasshopper is reading your inputs like 11 distinct operations of a single distance against 11 surfaces.
You can either "flatten" your data tree of distances to have it match your list of surfaces - if you right click on the T input on your move function, you can select it there - or you can "graft" your list of surfaces into 11 discrete data paths in similar fashion.…