(2019-03-24, 19:06)Orion Pobursky Wrote: I have a line segment from P1 to P2
What are you trying to do?
Because you can't build a matrix from just a line segment without assuming some other stuff.
You'll need at least two vectors perpendicular to each other for this.
In LDCad's path generator I use the world Y axis to find the second but it depends on your situation.