ee 3)
{5}
0 15
{6}
0 16
And I want to place points at every possible combination of these coordinates, treating Tree 1 as X coordinates, Tree 2 as Y coordinates, and Tree 3 as Z coordinates. Also, I would like the list of points to be a tree with paths corresponding to the coordinates. Wouldn't it be nice if I could plug these trees into a Point XYZ, with a new "branch cross reference" method, and get the following result?
{0:3:5}
0 {10.0, 13.0, 15.0}
{0:3:6}
0 {10.0, 13.0, 16.0}
{0:4:5}
0 {10.0, 14.0, 15.0}
{0:4:6}
0 {10.0, 14.0, 16.0}
{1:3:5}
0 {11.0, 13.0, 15.0}
{1:3:6}
0 {11.0, 13.0, 16.0}
{1:4:5}
0 {11.0, 14.0, 15.0}
{1:4:6}
0 {11.0, 14.0, 16.0}
{2:3:5}
0 {12.0, 13.0, 15.0}
{2:3:6}
0 {12.0, 13.0, 16.0}
{2:4:5}
0 {12.0, 14.0, 15.0}
{2:4:6}
0 {12.0, 14.0, 16.0}
In this form of cross referencing, every combination of individual branches from the different lists is used as separate input, and the output for each combination is put onto a branch in the result whose path is the concatenation of the input branch paths used.…
Added by Andy Edwards at 7:03pm on November 3, 2009
I extract the first two with a "Redim Preserve t(1)" command.
In the first case, the redim is correct, Line 7 = Line 2 and Line 8 = Line 3. It just kept the first two values like it is supposed to be.
But, for the second curve starting Line 9, some t values are messed up after the Redim. Line 16 = Line 17 despite Line 11 was different from Line 12. That's what is creating a problem later in the Split.
Weird.
…
to make a lot of problems when you divide second set of curves because everything is counted double times.
the target is to find the right way to list items directly linked with u/v divisions.
check the number of items you have after dividing the srf.
by the way thank you for your interest.…
ult, my 3dm is very large.
Another problem, when the fonction is ok, the draw in grasshopper is ok, when i bake i have only a litte part of the opération.....
If you could help me, thank you
[Edit] Here the description in the null item :
{0;0}0. Brep: brep.m_T[43047] trim is not valid. trim.m_type = seam, the edge is manifold, but brep.m_L[trim.m_li=1114].m_type is not outer.brep.m_L[1114] loop is not valid. brep.m_T[loop.m_ti[21]=43047] is not valid.brep.m_F[0] face is not valid. brep.m_L[face.m_li[1114]=1114] is not valid.ON_Brep.m_F[0] is invalid.1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. …
nique name like in your example {0;0},{0;1},{0;2},{0;3} where each path contains 11 elements(curves,points,values,etc)
so if you want to restructure the structure first right click on path mapper and take create null mapping which reads your current path structure into the component
after that you can additional write on the left side to the existing path (i) as variable for the elements and then on the right side type in the structure you want to achieve
maybe {A;i}(B) so after that you have 11 paths where each have 3 elements
hope that helps…
view. So in the GH Definition i have only to estimate a center for always 4 holes. So i get 3 centers and they can be targets for the 3 details.
Sounds difficult but is not...look at the definition attached:
You have to find out what is best for your situation, this is just an example since i don't know what you're really doing.
As an extra tutorial i also added how to convert the text dots to 3d text, which you obtained from the counting. Could be useful for e.g. numbering the holes.
GH and 3dm files as well as screenshots are the attached zip file.
Cheers,
FF…
Added by Florian Frank at 9:47am on January 21, 2016
am-10:45am Lecture/Classwork
Break 10:45am-11:00am
11:00am-12:30pm Lecture/Classwork
12:30pm-1:00pm Questions (optional participation)
Details: An outline of the class material is available HERE.
The class will be conducted in English using the GoToTraining software.
You will need Rhino 4.0 for Windows or the Rhino 5.0 for Windows beta installed. You will also need the latest build of Grasshopper. You may use the Rhino 4.0 for Windows evaluation version, however you will be limited to 25 saves. Using the Rhino for OSX WIP is not acceptable for this class.
NOTE: Pacific Time Zone!
Cost: 150.00 US$…