Any chance of getting the option to draw super elipses in Rhino?

Like this:

https://www.oberonplace.com/products/plotter/tutor/lesson2.htm

Thanks.

For whatâ€™s it worth, it would probably be pretty straight forward to implement the super ellipse formula using Grasshopper. Edit: hereâ€™s one example.

1 Like

This works pretty well.
Thanks.

But the curvature analysis doesnâ€™t look that goodâ€¦

-C-H-A-R-L-E-S-

I wonder if thereâ€™s an analytic way to fit a nurbs curve to a super ellipse. Just messing with the weights of a circular nurbs curve doesnâ€™t seem to work, in that the result is both too extreme and not extreme enough in different places. Iâ€™m not terribly surprised that didnâ€™t work though, after all a super ellipse is not a conic section.

@dalelear, @chuck, do either of you have any idea?

Draw an ellipse shows the control points and change the weight of the points at the top like the attached images.
Vittorio

You can also use the Rectangle command with the Rounded option set to Conic.

1 Like

I doubt thereâ€™s a NURBS representation. You could get close with a Taylor series or something like that. You would have to work within a quadrant and mirror to get the rest. I think the curve isnâ€™t well behaved at the qaudrant boundaries unless n is an even integer, or maybe rational with even numerator in lowest terms.

For what itâ€™s worth hereâ€™s a super-ellipse calculator which will output pdf or svg. Rhino wonâ€™t import svg and the pdf comes in as line segments which when joined and CurveThroughPolyline, gives a curvature graph like a fright wig.
Nick

Oh, forgot the generator is here: http://www.procato.com/superellipse/

Yes. The grasshopper script is nice to work with. But the actual curve not so much.
Also get self intersecting lines when extrudingâ€¦
Any way to fix the script?

Here is a version using GHPython to plot the coordinates, seems to generate okay curvature:

And the file:
170203_SuperEllipse_GHPython_00.gh (8.6 KB)

Edit: You can change the sampling by setting the step parameter in the Python code (or hook it up to a slider).

Edit II: Hereâ€™s version where you can extrude/cap the profile:
170203_SuperEllipse_GHPython_01.gh (8.5 KB)

5 Likes