This version of the Hilbert Cube has undergone some code refactoring allowing you to accurately specify the cube's information (in mm).
The example cubes follow the naming format "Hilbert-Iterations-CornerSize-GapSize-BeamSize.stl", so "Hilbert-2-5-10-3.stl" would represent a cube with 2 iterations, a corner size of 5, a gap size of 10, and a beam size of 3.
Due to a technical limitation of OpenSCAD, it is impossible to generate a cube with 5 or more iterations.
Inspired by https://www.thingiverse.com/thing:16343
Algorithm from https://web.archive.org/web/20160314084858/http://thomasdiewald.com/blog/?p=561 (original page gets a 404 error)
Hilbert-1-5-5-5.stl | 7.6KB | |
Hilbert-2-5-10-3.stl | 258.8KB | |
Hilbert-2-5-5-3.stl | 258.8KB | |
Hilbert-2-5-5-5.stl | 62.8KB | |
Hilbert-3-10-2-10.stl | 507.8KB | |
Hilbert-4-5-5-5.stl | 4.1MB | |
HilbertAccurate.scad | 5.8KB |