I’m trying to find perpendicular intersection of curve that passes over lines. However, that curve is not coplanar with the lines. How can I find the points on the curve wherever it will intersect those lines if it was coplanar with them?

I tried various components but couldn’t figure out.

INTERSECTION OF NON-LINEAR CURVES.gh (11.9 KB)