Provided are various Python scripts that will generate some interesting structures in Maya.
Samples of generative art using Python in Maya