OpenSCAD Maze

by Corona688, published

OpenSCAD Maze by Corona688 Dec 16, 2014



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

14928Views 4423Downloads Found in Puzzles


Okay, people had a really hard time using the last maze generator since it was programmed in a peculiar way.

This one uses ASCII art. It calculates the shape of the maze from the ASCII itself (which REQUIRES a pretty new OpenSCAD). Or you can use the new (and untested!) maze different from last years'. Enjoy.

NOTE! I haven't printed this maze yet! I'll check it tomorrow :D [edit] It prints, it works.

[edit] Minor but important code fix in lmaze6a.scad

[edit] Maze generator at http://burningsmell.org/maze.html

The lid is in Sneakypoo's original labyrinth gift box, see "Sources".


You can use the premade maze, which is different from last years', or you can build your own by editing the "m" array to your liking. You cannot change its dimensions.

Hit F6, wait for it to render.

Adjust aoff until the bump which holds it shut is in the right place. F6, check, etc.

Finally, F6, wait for it to render, file, export as STl, save, wait a minute, and you'll have your customized maze.

More from Puzzles

view more

All Apps

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

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Am i missing something here? there is no lid included in the files, as far as i can see - and no information about the lid in the instructions?

Yes, look at the remix information, it is derived from https://www.thingiverse.com/thing:201097 and uses that lid.

This maze is his invention, and I didn't want to deprive him of views just from slightly changing it.

Labyrinth Gift Box

Great !

I've done one in PLA, all is OK.

Now I want to build some other but smaller in ABS (to make geocaches)

I've just tried to scale down with CURA (0.4), all print good but the inner piece does no fit in the lid (a little to big). Does someone make smaller boxes ? If yes how did you do ?

Is there a way to edit the size in Openscad files (I'm a very beginner ... )

Thaï you for your help !



Try scaling the lid 0.5% - 1% smaller than the inner piece.

Already tried but at 0.42, lid is to big and at 0.41 to small ...

try the logical middle ground - 0.415

102% bigger on the outer section worked. 102.5 would be better. ABS. You;re right...when you change it then the lid isn't quite the same size as the insides.

Great thing,

Just used to generate a maze for two nubs. But have no idea, how to add more nubs to the lid. Any suggestions?

Sorry, I misunderstood. You want to add bumps to the LID.

How about this? http://pastebin.com/5FxdhyAr

Super! That's exactly what I need. Thank you very much.

Comments deleted.

Maze-06 in the zip file is not solvable. (Learned the hard way after printing)

Apologies for that, the algorithm should have generated solvable mazes, but holes are cut in the walls and more added to make it circular and capped and apparently leaves room for that kind of error.

No worries, I've printed a bunch of the other ones and they all turned out great. Thanks for posting this!

I'm working on a maze generator that runs purely in OpenSCAD (yay customizer!) but the most complex thing Openscad can handle is the sidewinder algorithm (which would work pretty well for this purpose, now that I think about it)
Maybe when I finish with that it could be adapted to fit the gift box?

I'm not experienced at all with OpenSCAD, how simple is it to change the size of the dimensions of the container?

Not that easy. It subtracts channels from a hardcoded 3d "blank", and I didn't include a lid in my design either. It uses sneakypoo's original lid because I wanted to make sure he got pageviews from my derivative.

Note: To calculate the value of 'aoff' for a certain column, it is:


nice object and even nicer code! thx

This is such a powerfull coding