# Revision history [back]

### Given a direction vector and a point, how to draw a 3d line?

I have a point

(-e^pi, 0, e^pi)


and a direction vector

tvec = vector((e^t * cos(t) - e^t * sin(t), e^t * sin(t) + e^t * cos(t), e^t))


How would I draw a 3d line based upon these 2 arguments?

I looked over at the documentation but I couldnt find it.

 2 retagged FrédéricC 4383 ●3 ●37 ●93

### Given a direction vector and a point, how to draw a 3d line?

I have a point

(-e^pi, 0, e^pi)


and a direction vector

tvec = vector((e^t * cos(t) - e^t * sin(t), e^t * sin(t) + e^t * cos(t), e^t))


How would I draw a 3d line based upon these 2 arguments?

I looked over at the documentation but I couldnt find it.