MakerWorld
Puzzles
Puzzle Cube (Randomly Generated with Python)
by keeeal
14
Downloads
9
Likes
8
Makes
I wrote this code as an exercise in procedurally generating 3D-printable objects. The algorithm creates six pieces that fit together to form a cube. Since the puzzle is randomly generated, even the puzzle’s creator can have the satisfaction of solving it for themselves! RequirementsFirst install SolidPython and Numpy:pip install solidpython numpy UsageTo run the script:python puzzle_cube.py [--size SIZE] [--shape X Y Z] [--stl] Optional arguments:size — The size-length of a single cell in the pu
Sign in to leave a comment
Sign in