Loading

3D printable Heart

by emili, published

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

Liked By

view all
wulfCard1024x768

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

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:

./cor2.pl > heart.scad

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

Top