Customizable Maze

by Synchron, published

Customizable Maze by Synchron May 16, 2013

Thing Info

2814Views 620Downloads Found in 2D Art
Report Thing


You can create a maze with simple numbers:
1 = left,
2 = top,
4 = right,
8 = bottom,

If you want to create a full closed tile its: 1+2+4+8 = 15
Bottom and Left Corner is 1 + 8 = 9 = 09

Openscad needs a simple to parse string, so you had to write numbers with 2 digets ("09"). A new line is startet with "br" for break. Every Line had to be in the same length! Be sure to end your string with a br!

a simple box is: mazestring="03,06,br,09,12,br";

Every Tile has its own walls.so if you make a [4,1] there is one big wall with double wall thickness between the tiles. with [0,1] you make a wall with normal wallthickness.
(You can see the effect in my testmaze in the top left corner. The straight wall at second Position to the bottom has a little edge in the middle. this is because i switched between a richt wall in first osition to left wall in second position)

Inspired by
But not a real derivate.


Imagine a maze
Write the maze in the digit code

Be sure that every line has the same amount of elements!
Be sure that your last line ends on "br"!

More from 2D Art

view more

Thing Info

2814Views 620Downloads Found in 2D Art
Report Thing


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

what are the dimentions of the maze?

Nov 4, 2015 - Modified Nov 4, 2015
Synchron - in reply to jaybird312

5mm for every section, adjustable with the tile_width parameter. it depends on your mazestring how big it is in the end

Does anyone know how to edit the maze? Im having a tough time figuring it out. Please help!

Hi, what is the point you dont understand?
Maybe you forget the leeding 0 at numbers <10?
Every command has to have 2 letters/numbers, so the parser understand it.
Hope that helped :)