Per brep, get curve item numbers which intersect the breps

I want to get the indices of the curves per brep which intersects.

So, brep 0 is intersected by curves[0,1,2,3]
So, brep 1 is intersected by curves[2,3], etc.

Do you might know how to do that, I cannot figure it out.
Thank you for your response :smiley:

problem per mesh which curve intersects 00.gh (11.3 KB)

Try ColOM.


problem per mesh which curve intersects 00_re.gh (16.6 KB)

1 Like

For the index of the line colliding with each brep, this might work for you. I’m sure there are many different ways to do it.
problem per mesh which curve intersects 00_V2.gh (17.7 KB)

1 Like

@HS_Kim @Adam_M
Thank you! :smiley: