Line Perpendicular - pls revamp or add 'quick ortho from'

Hey guys, I would like to code an option to line and curve creation concerning start tangent or perpendicular option similiar to the Line Angled command.

As you see with perpendicular option on there is no object snapping for end positioning, should be fixed with an extra step.

either way you could implement a start point and direction set up for curves, with 3 point method to tackle easy perpendicular and start tangent setting the same way, just 1) click for start point 2) click for base line 3) start line by holding shift to use ortho based related to the respective base curve position.

Perhaps I am misunderstanding what you are asking for, but does perpFrom (and TanFrom for tangents) do what you need here?