Tube from 3d points

I saw a solution for the path here.

I made the end caps with half spheres.

image

If anyone is interested in the code, it is in this PR and is going to be merged soon was merged.