Parametric Minecraft Cube

OpenSCAD script to generate mine craft cubes of any size.
36
124
0
1046
updated June 10, 2023

Description

PDF

My kids are into Minecraft in a big way and I wanted to make them a lamp each. I researched a few different designs but none offered exactly what I wanted, so I wrote this OpenSCAD script. I realised that making the holes in the face to be an interesting challenge and I thought it would be great to make it so it could be changed. 

I came up with the array approach, which defines what is present on the cube faces. The array is upside down with the bottom of the cube being row 0

The cube is fully scalable and the script automatically calculates how big the hole should be given the size of the cube. 

I have also included the Arduino sketch file which is included. 

I wanted some control over the lamp colour as well as an on/off switch. The switch is a simple 12.5mm square push button I got from ebay. It has a longer button to protrude through the hole. 

I did not use a pull up resistor for the switch as the ATTiny-85 has some pull ups internally. For LED's I choose the WS8212b led and used a small 5 led strip. The strip is self-adhesive and using some folding, I managed to get the 5 LEDs around the top of the LED tower.

All the above info is in the included PDF file.

Enjoy :-)

Tags



Model origin

The author marked this model as their own original creation.

License


Highlighted models from creator

View more