Procedural leaf generator

I created this project to make leaves (or any model) appear randomly on an object. The script can be attached to any geometry and a variety of different factors can be controlled (how high the leaves appear, how many, how far apart they are, etc.). In this example, the script was applied to a sphere that was over the tree model. The script works in Maya and is using Rman and mel script.