I want to align an object to an edge via Python.
I have an edge in the 3D space, the edge has a rotation, euler or quaternion, like a 3d object, but this edge is part of an object.
I want to copy the rotation of the edge to a external object (like a cylinder).
This seams like what I want, but the result doesn't work. Align Object to Vector using python