Hey,
I currently need help with Python.
I created a pointcloud in Rhino and transfered it into Grasshopper. I searched for every point in the pointcloud the nearest points. I wrote a script in Python to calculate some vectors from this point to every nearest points.
I saved the results in a list of strings.
Now I want to calculate the cross product from two vectors which are next to each others.
But I can’t access the list.
How can I save the results in a list of vectors so that I can use it for my next steps.
And its my first time that I use Python, so how can I define a function to calculate the cross product from a list of vectors.
The following picture shows my script. x is a list of points, y a tree where the branch contains the information of the nearest points, u is the number of the points, and z includes the number of nearest points.