output will show a tree with 3 branches of 4 integers each that I can pass on to other components. What is the best way to do it?
I have tried creating a tree and using a for loop to do so, but it didn't work.
Thank you for your help.
…
ow do you sort data trees with distinctive number of list items in each branch?
In this example, there are 161 branches with three distinctive number of list items, 3, 4, and 5. I want to know if there is another way to sort out this data tree into this way: 3 vertices {0;0}, {0;1}, {0;2],...4 vertices {1;0}, {1;1}, {1;2},... 5 vertices {2;0}, {2;1}, {2;2},...
2. Is there a way to sort our surfaces based on number of distinctive list items automatically? For example, if there are surfaces with 3, 4, 5, 6, and 7 vertices, I want to make five branches with the same number of vertices automatically.
I hope my questions make sense...
Thank you!
Dongyeop …
Added by Dongyeop Lee at 12:14pm on October 3, 2016
oning behind using the equality component to test for even numbers is flawed because of the data matching used by gh. It is testing like this:
0==0 True
2==1 False
4==2 False
6==3 False
etc
.............
Where as a Modulo 2 would work like this
0%2 = 0
1%2 = 1
2%2 = 0
3%2 = 1
4%2 = 0
5%2 = 1
6%2 = 0
7%2 = 1
8%2 = 0
9%2 = 1
......
Also I notice you have some errors in your expressions producing Nulls.
If you want it to be twice the value then you should have 2*D in the Expression and 10*D in the other
....
I attach a working version.…
fset the original curve in Z axis.
4) Offset my 3rd curve in the Y axis.
5) Divide al the curves into equal segments.
6) Use a cull pattern with "Tue False-False True" Booleans.
7) Connect the culled points.
8) Pipe around the curves.
I dont´s know why my conections go from point 1 to point 2, and instead of keep going from point 2 to point 3, it starts back on point 3 to point 4.
I´m sending the image of what I´m getting, the image of what I want to get, and the definition in case anyone can help me modifying some parameters or components. Thanks!…
to the installation folder, Drag & drop SYNTACTIC(green one) over your grasshopper canvas.
3. Close your rhino and reopen it.
4. Type GrasshopperDeveloperSettings
5. Tick the Memory load *.GHA assemblies using COFF byte arrays option
6. Run grasshopper and enjoy plugin…
al vector.
4. Create a Line SDL using the centroid and vector as inputs, make it relatively short.
5. Move it "backwards" (the oppesite direction of the normal) by half the length, so as to place it in the middle of the surface.
6. Carry out the intersection check!
/T…