Marble Run

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

Set for 5mm diameter marbles (well, steel balls). Scaling up for larger marbles should work fine.

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!