Thingiverse
Customizable Maze
by Synchron
59
Downloads
56
Likes
1
Makes
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.s
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.s
Sign in to leave a comment
Sign in