I’m currently trying to make this a geometry plugin using maxscript so you can set and animate the parameters in real time, just like any other geometry object in max. Scroll down for video.
I appreciate all feedback :)
Download URL: http://havardsc.com/scripts/flowerCreator.ms
To install it permanently on your system, just copy the file to the \plugins folder or to any folder listed in the plug-ins paths.
To try the plug-in without installing it permanently, just evaluate the code and look under Create panel>Geometry>havardsc category in the drop-down list. The plug-in will be only available for the single session and will not be there after restarting 3ds Max.
Any MAX files saved with the plug-in in the scene will require the script to be installed and evaluated in order to load correctly.
Some days ago I stumbled upon this http://demonstrations.wolfram.com/VirtualFlowersWithCrispatePetals/ and thought it would be cool to script the same thing in maxscript. I used the curve control editor to display the graphs as a preview, in lack of a better alternative to display a them, as far as I know. I am kind of new to scripting and this is my first post on scriptspot, so be gentle : )
Open for any kinds of suggestions.