Skip to content

Instantly share code, notes, and snippets.

@samjessup
Created January 26, 2021 21:07
Show Gist options
  • Save samjessup/af3dab354f8b76241521f32a1efb9eb2 to your computer and use it in GitHub Desktop.
Save samjessup/af3dab354f8b76241521f32a1efb9eb2 to your computer and use it in GitHub Desktop.
// Code borrowed from ardvarkmadman and Raiku17 on reddit
svgfile = "heart_25x19.svg";
module baseSVG(){
import(svgfile,center=true);
}
linear_extrude(height=3.5)
{
difference()
{
offset(r=10)
baseSVG();
offset(r=5)
baseSVG();
}
}
linear_extrude(height=14)
{
difference()
{
offset(r=6)
baseSVG();
offset(r=5)
baseSVG();
}
}
linear_extrude(height=17.5)
{
difference()
{
offset(r=5.65)
baseSVG();
offset(r=5.00)
baseSVG();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment