Create a 3D Supershape with RevitPythonShell

This IronPython script creates 3D Supershapes using RevitPythonShell

Note: If you have not set up Vasari/Revit to use RevitPythonShell, please visit by blog post.

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…

Download the code...!


RevitPythonSuperBlog1.jpg
RevitPythonSuperBlog2.jpg
RevitPythonSuperBlog3.jpg
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License