intersection of lists of lines, in a tool
Hello, I am trying to make a tool for tracing funicular lines from a list of forces, with minimum clicking (minimum hand work).
For this I need to solve the following problem:
Here L_1 and L_2 are 2 lists of lines of equal length.
The following command returns a list of intersections of each line of L_1 with each line of L_2:Zip(Intersect(a, b), a, L_2, b, L_1)
It works fine.
However, when I try to make it into a tool, no error message appears, but the result is invariably a list of undefined points!
I am able to give a list of lines as a parameter to a tool, for example for making a translation. I am also able to give a list of coordinates (lists of numbers), then make the lines, but strangely the intersection does not seem to work when done within a tool!
Can anyone help me?