3D printable Heart
by emili, published
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
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).
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 ;)
Liked ByView All
Give a Shout Out
3D printable Heart by emili is licensed under the Creative Commons - Attribution - Non-Commercial license.
So what's this mean?
- Remixing or Changing this Thing is allowed.
- Commercial use is not allowed.
We're sure emili would love to see what you've printed - take a photo and share it on Thingiverse as a Make.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. You can also download the Thingiverse Mobile app (available via Google Play and Apple App Store) to take a photo and upload your Make right from the app!