Loading

Parametric Hypercube

by brucey, published

Parametric Hypercube by brucey Jun 29, 2011

Description

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!)

Recent Comments

view all
I can't help but notice that your hypercube only extends into 3 dimensions. The 4th dimension appears to be merely a 3 dimensional shadow of the 4th dimensional cube promised.

That's okay tho. Adding the 4th axis to a printer is a pain in the neck.
Thanks! I'm still a couple of weeks off getting my printer online so great to see you managed to print it!
thanks a lot :) :)

Liked By

view all

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

1. Input parameters to the top of the code where indicated
2. Compile and generate g-code
3. 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);).
I can't help but notice that your hypercube only extends into 3 dimensions. The 4th dimension appears to be merely a 3 dimensional shadow of the 4th dimensional cube promised.

That's okay tho. Adding the 4th axis to a printer is a pain in the neck.
thanks a lot :) :)
Thanks! I'm still a couple of weeks off getting my printer online so great to see you managed to print it!
Print 2 and hang them from your rear view mirror...
thanks! I'm glad you like it! :)
Top