**Update** Download the IronPython code here...!
Awhile back, I was playing around with 3D Supershapes in Grasshopper. Zach Kron from Buildz recently attempted to approximate a similar effect using Revit parameters and formulas.
So to continue the theme, I thought I would take a crack at creating a script for generating 3D Supershapes using strictly IronPython and the RevitPythonShell.
The script creates reference points based on mathematical formula and draws section curves in one direction. I then used the loft form method to connect adjacent curve together and describe the surface. I should note that lofting the sections together for a continuously smooth look fails under just about every scenario... I hope more options are available in the future.
Speed wise... well... it sure takes its sweet time to generate the geometry. Other scripting environments are lightning fast when dealing with similar levels of complexity. In the future, I hope the Revit/Vasari team can streamline the form creation process and provide more creation methods...