I’m struggeling a bit with the Mesh ray intersection component.
In the example attached below, i want to calculate the intersection between a number of ray’s and some meshes.
I have a collection of multiple meshes (for this example i used cylinders)
- for each of these meshes i define 7 planes between the top and bottom of the cylinder
- on each of these planes i generate 24 points with the Polar array component located at a certain distance around the origin of these planes
- next i construct a set of vectors with these polar points and the corresponding origins
- in the last step i want to calculate the intersection between all the vectors that belong to a particular mesh and that mesh itself.
It seem’s i can’t figure out how to structure the data i put into the mesh|ray component in such a way that it calculates the intersections between each mesh and it’s corresponding set of polar points in a correct way.
mesh_ray_example.gh (21.7 KB)