by brucey, published
This is my first experience with OpenSCAD and was made as an experiment, if anyone finds it useful then that's a bonus!
This is a derivative work of A cube by imaterialise.
A hypercube is a "shadow" or projection of a 4 dimensional cube in 3d space; much like if you projected a 3d cube onto a 2d surface. If you're interested in the theory behind this then please consult wikipedia as I don't really understand it... looks cool though ;).
I have parameterised this to enable customisation of the size of the inner and outer cubes and the thickness of the "lines" for the inner and outer cubes. You will also notice that the polyhedrons connecting the two cubes have triangular cross-sections; this was mainly for ease of coding (less polygons to orientate!), but also seemed neat to me at the time.
(note: this is my first OpenSCAD thing so I'm not sure about the neatness and robustness of my code so any feedback would be greatly apreciated!)
- Input parameters to the top of the code where indicated
- Compile and generate g-code
- Print and clean up
I don't know if this thing is actually printable as I'm still a way off finishing my RepRap (but I suspect a smaller overall dimension will give a better print). If anyone fancies giving it a go then that would be fantastic! As ever feedback is greatly appreciated.
Note: printing a true 4D cube will require a 4D printer and extra-dimensional perception (not included);).