• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
SuperEllipse in OpenScad 3D Printer File Image 1
SuperEllipse in OpenScad 3D Printer File Image 2
SuperEllipse in OpenScad 3D Printer File Image 3
SuperEllipse in OpenScad 3D Printer File Image 4
SuperEllipse in OpenScad 3D Printer File Image 5
SuperEllipse in OpenScad 3D Printer File Image 6
SuperEllipse in OpenScad 3D Printer File Image 7
SuperEllipse in OpenScad 3D Printer File Image 8
SuperEllipse in OpenScad 3D Printer File Image 9
SuperEllipse in OpenScad 3D Printer File Image 10
SuperEllipse in OpenScad 3D Printer File Image 11
SuperEllipse in OpenScad 3D Printer File Image 12
SuperEllipse in OpenScad 3D Printer File Image 13
SuperEllipse in OpenScad 3D Printer File Image 14
SuperEllipse in OpenScad 3D Printer File Thumbnail 1
SuperEllipse in OpenScad 3D Printer File Thumbnail 2
SuperEllipse in OpenScad 3D Printer File Thumbnail 3
SuperEllipse in OpenScad 3D Printer File Thumbnail 4
SuperEllipse in OpenScad 3D Printer File Thumbnail 5
SuperEllipse in OpenScad 3D Printer File Thumbnail 6
SuperEllipse in OpenScad 3D Printer File Thumbnail 7
SuperEllipse in OpenScad 3D Printer File Thumbnail 8
SuperEllipse in OpenScad 3D Printer File Thumbnail 9
SuperEllipse in OpenScad 3D Printer File Thumbnail 10
SuperEllipse in OpenScad 3D Printer File Thumbnail 11
SuperEllipse in OpenScad 3D Printer File Thumbnail 12
SuperEllipse in OpenScad 3D Printer File Thumbnail 13
SuperEllipse in OpenScad 3D Printer File Thumbnail 14

SuperEllipse in OpenScad

WilliamAAdams avatarWilliamAAdams

October 11, 2011

thingiverse-icon
DescriptionCommentsTags

Description

donb (http://www.thingiverse.com/donb) sent me a message recently about the SuperFormula (en.wikipedia.org/wiki/Superformula) as it reminded him of my other surface/solids work.

Recognizing the fun challenge, I thought I'd code it up. But, instead of starting right away with the SuperFormula, I thought I'd start with the SuperEllipse, which is very close, and a step along the way anyway.

This thing is an implementation of the SuperEllipse formula in OpenScad.

What good is a SuperEllipse? Well, it's actually a surface of revolution. With it you can define the ellipsoid, sphere, cylinder, cube/rectangle, and myriad other funky looking shapes that are somehwere in between these. It's great because from one formula you get all sorts of things. Just imagine if this were a primitive in OpenScad, as it is in things like PovRAY.

At any rate, the basic formulas are there. The fun thing is, you can render a point cloud if you want. That is, only the vertices, represented as tiny little spheres. You can also render as a wireframe. That's nice because you can see the structure, on the outside and the inside as well. Lastly, you can render as a polyhedron. Perhaps the most cool of all is that you could render as all three, at the same time, by just changing the values of some parameters.

The important file is superellipse.scad. With this one comes the 'superellipse()' module. This has parameters you can change to get the different shapes. Within the code, there is a reference to a page that gives examples with different parameters. By default, it renders with a radius of [1,1,1]. You can easily use the 'scale()' module to get a different size.

Although the thing will generate 2-manifold objects, it seems to be extremely expensive to do CSG operations on them.

UPDATE: I added another picture that shows a checkerboard pattern on it. That's a little bit of "precedural texture", which I haven't actually released as yet, but I thought it looked cool.

License:

Creative Commons - Attribution

Related Models

Elliptical Gear with no center pivot preview image

Elliptical Gear with no center pivot

cohlwiler profile image

cohlwiler

14,069

Rotating Ellipses Toy (golden ratio) preview image

Rotating Ellipses Toy (golden ratio)

Aryser profile image

Aryser

67

Paper clip tag preview image

Paper clip tag

PrintNova33 profile image

PrintNova33

19

Ultimate Rounded Corner Jig for Router (Customizable) preview image

Ultimate Rounded Corner Jig for Router (Customizable)

MrFuzzy_F profile image

MrFuzzy_F

3,517

ellipse templates preview image

ellipse templates

The Alchemist profile image

The Alchemist

39

<BSG> ELLIPSE preview image

<BSG> ELLIPSE

Contraptor Lab profile image

Contraptor Lab

7

Funnel Customizer preview image

Funnel Customizer

aaalberto7 profile image

aaalberto7

3,003

Apollonius of Perga's Cone with 5 mm magnet holes preview image

Apollonius of Perga's Cone with 5 mm magnet holes

Fab3D Udesc profile image

Fab3D Udesc

13