how to draw a line horizontally on a line in 3D?

45 Views Asked by At

I have two points

  • $P_1(6~096,4~572,0)$
  • $P_2(12~192,4~572,9~144)$

in 3D. Distance between the two points is $10~989.7202$. In image you can see as side and front view of it. I want to draw a line horizontally with some specific distance assume as 3000 on it from P1. horizontal line distance is 2800. So how to figure out the points A and B on the line P1,P2?reference image