I wrote a MEL code in MAYA that will randomly creates polygons between cubes, cylinders or cones.
This is another MEL script for creating helix by using whatever polygon you want.
Using the third MEL script to create a ring formed with polygons.