Thingiverse
3D/2D Maze Generator (Blender/Python Script) for 3D Printers and Laser Cutters
by nimaid
430
Downloads
346
Likes
2
Makes
**EDIT 1 (3/24/15): Added dual extrusion support.**
**EDIT 2 (3/24/2015): Added option to have entrance and exits closed, also added setting to make 2D vector path instead of 3D mesh. Fixed minor redundancy in code.**
**EDIT 3 (3/25/15): Fixed minor settings conflict, added more comments for clarity.**
So I've had a thing for maze generation for a while. While I wrote a few different games in HTML 5/Javascript and C, I wanted to make something that was actually physically real.
A search on Thingiverse led me to a [Python script that generated an OpenSCAD description of a maze](http://www.thingiverse.com/thing:24604), but that seemed too round-about for me. Besides, I like the looks of the classic recursive-backtracker algorithm more than any other, and it's so deliciously simple to implement. Also, I really, really like generating mazes. :) So, I decided to write my own.
Initially, I wanted to implement it in OpenSCAD, but because it uses a functional language
**EDIT 2 (3/24/2015): Added option to have entrance and exits closed, also added setting to make 2D vector path instead of 3D mesh. Fixed minor redundancy in code.**
**EDIT 3 (3/25/15): Fixed minor settings conflict, added more comments for clarity.**
So I've had a thing for maze generation for a while. While I wrote a few different games in HTML 5/Javascript and C, I wanted to make something that was actually physically real.
A search on Thingiverse led me to a [Python script that generated an OpenSCAD description of a maze](http://www.thingiverse.com/thing:24604), but that seemed too round-about for me. Besides, I like the looks of the classic recursive-backtracker algorithm more than any other, and it's so deliciously simple to implement. Also, I really, really like generating mazes. :) So, I decided to write my own.
Initially, I wanted to implement it in OpenSCAD, but because it uses a functional language
Did you print this model? Sign in and share your make!
Sign in to leave a comment
Sign inNo comments yet – be the first!