Project mesh on mesh to delete clearance angle

Hi, do you know a rhino tool, to delete clearance angle of a mesh, if i’ve a mesh ( black curve on picture, i would like the red one, by selecting a direction…

i search to make a grasshopper script to make it, but i need some help…

i’ve got the list of 54 vertices of my mesh, i draw a line start to vertices and search the intersection with the mesh start, if there is no intersection i keep this vertice, but if there is intersection I don’t want this vertice/
the result for the moment is 2 lists, the first with 54 vertices, and a second with intersection, and i want to take out the vertice who have intersection, i would use the “Cull patern” but i don’t know how I transform the second list in a patern…

How can I change the second list of intersections points to a true or fals list?
With a python script?
If value: true
Else: false