Skip to content

Instantly share code, notes, and snippets.

@Betree
Created January 6, 2017 02:22
Show Gist options
  • Save Betree/931756b064d5f87d6d7e923e6cb0b5a1 to your computer and use it in GitHub Desktop.
Save Betree/931756b064d5f87d6d7e923e6cb0b5a1 to your computer and use it in GitHub Desktop.
OpenSCAD parametric flat heart
module heart(size, thickness) {
middle = size / 2;
linear_extrude(thickness) {
square(size);
translate([size, middle, 0]) circle(middle);
translate([middle, size, 0]) circle(middle);
}
}
// Use it like this :
// heart(20, 5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment