×Read this message from Erik, founder of YouMagine

Customizable Sphere Tube / Cup

Openscad file for creating customizable tubes / cups made from spheres


Creative Commons Attribution Share Alike

Commercial use is allowed, you must attribute the creator, you may remix this work and the remixed work should be made available under this license.

Learn more or download attribution tags


Just something I created while playing around with Openscad. Making something useful wasn’t really the object of the exercise but I’ve included some code that gives you the option to close and flatten one end so it can be used as a container (see photos). I have to say the finished print is really pleasingly tactile :-)

The tube is created by generating spheres in an upward spiralling sequence. There’s whole bunch variables to change so go have a play and create your own remixes :-)

The attached stl file has been optimized for ease of upload and download. The original was created at high resolution ($fn=80) and was 120 MB in size and took more than 6 hours to render.

The second stl file is solid so it can be printed in "Vase" mode (or "SPiralize Outer Contour" mode if your a Cura user, like myself). I edited the mesh outside of openscad to create this file but I'll update the code soon, so it will be an option within the scad file itself, in the future.

As always if you do make one pleas do share a photo of your make. thanks

Materials and methods




Issues are used to track todos, bugs or requests. To get started, you could create an issue.


6e54817fba3b87eef1c609a98045e062?default=blank&size=40Roberto Cabellon added this to the 3D Printing collection ago
Mini savage rodent 150 x 150SavageRodent published this design ago