hello everyone.
I want to do some simple projection and intersection operations, and I would like to find a simpler system.
for example, i want to find the perpendicular from a point to a line, and then the foot of the perpendicular.
And I would like this to work for any line in space from any point in space, not belonging to the line.

I found a solution that works in the case where the line lies on the XY plane and the point is any, but I am not sure if it works in the other more general cases.

thank you @inno.
The first solution it’s ok but it’s a particular case.
The second it’s ok, but why did you use the reverse command? in my opinion i think it isn’t necessary, because i saw that line intersect themselves in both directions.