3D Spherical gear

Hello computational designers ! 

I'm actually working on a Kinetic sculpture and want to create this amazing parametric Spherical gear assembly presented in this video and the attached document. 

https://www.youtube.com/watch?v=hhDdfiRCQS4

The question is how I can create the Monopole Gear in xGenerative Design or CATIA Visual Scripting ? 
I saw on youtube that some engineers used a Variable pattern table in Solidworks, others have used Python script...
The cross spherical gear is quite simple to create when you have a Gear profile. But the Monopole gear is hard to create : 

Has anyone worked on this kind of gears before? or would have an idea how to create this shape compared to the Cross spherical gear ?

​​​​​​​