Hexahedral mesh on a sphere problem (external flow)

Hello,
I'm trying to make a structured hexaheldral mesh over a sphere, but I'm having some problems. I think I made a nice partiton according to this tutorial https://www.youtube.com/watch?v=S6R3e4Ac9jY but there are still errors.
The code is added to the post.
Thanks in advance
Hi
It's a seam edge of the sphere who causes the meshing failure. After removing the seam edge using
NoExtraEdges_1 = geompy.RemoveExtraEdges(Partition_1, True)
the meshing passes OK. See the attached fixed script.
St.Michael
Powered by
Ploneboard