Hi, I got two trees with an equal amount of branches. One tree has lines the other planes. For the past few hours I've been trying to generate the intersection points between branch n in the first tree and branch n in the second tree. The closest I can get is the intersection points between all of the lines from all branches and all of the planes.
Thanks for that i have fixed it (i think). I have also posted you up a teaked version of the code tweaked the code a little to make it smaller and faster.
All i changed on your code was to add a graft component between the final rotated surfaces and the input into the surface curve intersect component and unflattened all the inputs into the S and C of these components.
In the tweaked code i rewrote the Rad input to Degrees and put in the expression Rad(a) into the A of the rotate component, i also changed the other rotate to an rotate 3D and thus removed the line component. (You may want to consider how the numbers are input here as don't change with the start slider?) and finally i convert the Surface intersect Crv to Surface intersect line as if the only output required is the points there is no need to compute all the other extra outputs that come with Surface Curve Intersect.