# 3D printable Heart

## by emili, published Feb 13, 2011

3D printable Heart by emili Feb 13, 2011

## Description

A 3D heart! Maybe the most geek present you can make for Saint Valentine's day ;)

I generated a set of cubes discretizing this formula:

(xÂ² + (9/4)yÂ² + zÂ² - 1)Â³ - xÂ²zÂ³ - (9/80)yÂ²zÂ³ = 0 | -3 <= x,y,z <= 3

I found this formula some time ago in a website, but I don't remember where :S Update: Now I know, the formula is here: http://mathworld.wolfram.com/HeartSurface.html Take a look at emmett's Exploitable Heart: http://www.thingiverse.com/thing:6190

I had to write a perl script that generates the OpenSCAD code for all the cubes, because I don't know enough OpenSCAD (or maybe it's just impossible, the limitations modifying variables are a strong constraint).

view more

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.

## Instructions

If you like the resolution of the heart in my picture, just download the STL file and print it!

In order to have a heart with a softer shape you need to increase the resolution. Download the perl script and change the value of the variable \$res to a lower value. I used 0.05, you can try with 0.01.

Write an openscad file with the output:

The rendering takes approx 30 minutes using \$res=0.05, so using 0.01 may take hours Â¿? I'm not sure. You also will need to rescale the object.

To have the entire heart you can just copy and mirror this part or you can uncomment a line in the perl code and generate a new one.

Have fun! and love ;)