Nk
Subscriber

Problem solved, the last facet of the top circle was wrong. It has to be replaced by

fct[:,0,2*segment-1] = [2*segment,segment+1,2*segment+2, 0]

Now, it is working.