Showing posts with label Supershape. Show all posts
Showing posts with label Supershape. Show all posts

Saturday, January 19, 2013

Blender Python: The Supershape Rises

Rounding out a trilogy of Supershape posts over the years, I have created an implementation for Blender Python.  This script defines the 3D Supershape using mesh vertices and faces.  The script also contains useful methods for calling the Blender subdivision modifier and removing duplicate vertices from the mesh.  The images below are rendered using the Cycles engine.






Thursday, July 21, 2011

The Supershape Returns... with Vasari and IronPython



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...

Sunday, August 2, 2009

3D Supershape in Grasshopper

This is a Grasshopper definition I made earlier this year that allows the user to generate 3D Supershapes. I started playing with it again in the last few days to test out the "Save state" feature in the new 6.0018 release of Grasshopper.

The definition plots a set of UV points in 3D. The surface by points component is used to create the supershape.

Click Here to Download the 3D Supershape Definition by Nathan Miller

The definition works with the latest release of Grasshopper (6.0018)
(I've tested it with GH 6.0018 on two Windows XP computers with Rhino SR4 and SR4b)

If anyone does anything cool with it, let me know and I will post it on the blog.

Enjoy!

***Updated with additional definition notes***