After seeing Ferjerez making a marble run using Processing.org, I thought I'd give it a go in OpenSCAD. Obviously heavily inspired by his work.
Fernando's thing: https://www.thingiverse.com/thing:4203859
And a his nice set of mazes for download - https://cults3d.com/en/3d-model/game/procedural-marble-maze-full-set
This is very much a work in progress.
The maze is defined as an array in the OpenSCAD file - it doesn't generate mazes, just creates the model from an already-defined maze. See Ferjerez's writeup linked from his model.
Be aware it's not the quickest model for OpenSCAD to render. I've not marked it as a customizer as I suspect it's way too heavy duty.
In addition to the all-in-one STL for the marble run itself, I've generated separate components which can be assembled for multi-material prints. I've not actually printed it multi-material, as it was going to spend 4 times as much filament on the purge tower as it was on the print itself. So I'm not going to do that until I'm happy with the result.
P.S. Thingiverse seems to be struggling to generate renders of the STLs - but they are all there!
You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:
ADVERTISING: Disable your AdBlock banner blocker and click on our banner ads.
DONATE: If you want, you can make a donation via PayPal here.
WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!