Ellipsoid primitive

By stretching a sphere it is very easy to make an ellipsoidal primitive. The structure shown in the image is created by firstly scaling the sphere in the z direction and then rotating it by pi/4 around the x-axis: CSX = AddSphere(CSX,'metal',1,[0 0 0],200, 'Transform',{'Scale', '1,1,2','Rotate_X',pi/4});