Customizable Menger sponge

by owens, published

Customizable Menger sponge by owens Feb 3, 2014
7 Share
Download All Files

Thing Apps Enabled

Open in Customizer Order This Printed View All Apps


Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

10034Views 3738Downloads Found in Math Art


Continuing the development of the Menger sponge models, and encouraged by mathgrrl, this OpenSCAD script combines the cut and external support options and adds the ability to change the size and choose the order/level up to 3.

Feb 6 update - added two more capabilities to the script:

  • a combination of cut and supported, to print a half-cube with the cut side facing up for folks with difficulty removing the finished object from their printbeds,
  • an option for an order zero cube - just a plain cube, no holes - so you can make a set showing the progression from cube to fractal.


The OpenSCAD script has the ability to generate Menger sponges of order/level 0, 1, 2 or 3 and to cut the model on the long diagonal or provide support structure so it can be printed standing on a corner without any internal support, or do both. The supports can be broken off easily after printing.

Please note that although the scale isn't limited in Customizer, the support structure is only tested at relatively small sizes and may not work as well with really large prints; if nothing else it will certainly use too much plastic.

It's also likely that OpenSCAD will produce models with some issues; I have found that order 2 and above need to be cleaned up before slicing. The posted STLs have been processed through Netfabb Cloud and should slice correctly.

More from Math Art

view more

All Apps

Customizer is the easiest way to take great 3D printable designs and make them your own. Make your OpenSCAD designs infinitely more valuable by empowering the community to customize them.

App Info Launch App
Customizer Thing App

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Treatstock is an online platform that offers decentralized manufacturing services such as 3D printing and CNC machining for business-to-business and business-to-consumer sales all over the world. W...

App Info Launch App

3D print your favourite design with NinjaPrototype, a professional 3D manufacture with consistent quality and speed.

App Info Launch App

What do you think about recursion?

Nicely done! :D Thanks!