Thanks, I will take a look.
I was trying along another path, having found the code to create a tetrahedron and also some code to create a cylinder between 2 points.
But combining then does not give the correct result: